home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ELECTRON / PCB_DESI / 3614B.ZIP / PCTRACE.DOC < prev    next >
Text File  |  1992-06-21  |  139KB  |  3,084 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                        PCTRACE
  19.  
  20.                                      Version 5.0
  21.  
  22.                                      Users Manual
  23.  
  24.                                     June 21, 1992
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                                           by
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                   Douglas E. Ehlers
  45.                              Ehlers Technical Consultants
  46.                                    4520 S. 58th St.
  47.                                  Lincoln, NE   68516
  48.                            (402) 435-8440  Voice (evenings)
  49.                      (701) 642-3846 BBS 9600,N,8,1 V.32, V.42bis
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                                                                           2
  58.  
  59.                                   Table of Contents
  60.  
  61.           Notice of Copyright............................................3
  62.           Introduction...................................................4
  63.           Installation...................................................4
  64.           System Requirements............................................5
  65.           Software Setup.................................................5
  66.           Old file Upgrades..............................................6
  67.           User support Methods...........................................6
  68.                Voice.....................................................6
  69.                BBS.......................................................7
  70.           Input/Output Menu..............................................8
  71.           Board Definition Menu..........................................9
  72.                Chip Placement...........................................10
  73.           Interactive Router............................................14
  74.                Mouse use................................................18
  75.           Autorouter....................................................18
  76.           Board Statistics..............................................19
  77.           Printer Menu..................................................21
  78.           Export Menu...................................................21
  79.           Exiting the program...........................................22
  80.           Tutorial......................................................24
  81.           RPRINT Subprogram.............................................26
  82.           DEFGEN Subprogram.............................................28
  83.           PC-Trace Keyboard control summaries...........................32
  84.           Schematic CAD.................................................33
  85.                Drawing Symbols..........................................36
  86.                Entering Components/Symbols..............................40
  87.                Making Connections.......................................43
  88.                Additional Drawing Commands..............................44
  89.                SCAD active keys.........................................49
  90.           Conclusions...................................................50
  91.           Appendix A - .NLT file format.................................51
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.                                                           PC-Trace Users Manual
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.                                                                           3
  118.  
  119.                                  Notice of Copyright
  120.  
  121.  
  122.  
  123.                This program is protected by a copyright held by the author
  124.  
  125.           and filed with the United States Government.  Copying of this
  126.  
  127.           software is forbidden and a criminal offense.  Anyone caught
  128.  
  129.           distributing this software without the author's consent will be
  130.  
  131.           prosecuted to the fullest extent of the law.
  132.  
  133.  
  134.  
  135.           Note:     This program was originally marketed under the name
  136.  
  137.                     PCROUTE but for copyright reasons has been renamed to
  138.  
  139.                     PCTRACE.  SCAD is short for Schematic CAD and is a
  140.  
  141.                     schematic capture program that is part of the PCTRACE
  142.  
  143.                     system.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.                                                           PC-Trace Users Manual
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.                                                                           4
  178.  
  179.                                      Introduction
  180.  
  181.                PCTRACE is a computer aided design program for printed
  182.           circuit boards.  It contains programs that can take the designer
  183.           from a schematic, to a board layout, to computer control of the
  184.           machines needed to make high quality circuit boards.  The program
  185.           should be quite adequate for most purposes.  This program is not
  186.           meant for IBM's use to design the next PS/2 motherboard.  It is
  187.           intended for the late-night engineer to build home projects.  It
  188.           contains a full featured autorouter that averages a 93%
  189.           completion rate on low density boards and 70% on higher density
  190.           boards.  It also supports  most popular printers for its output.
  191.                PCTRACE is the general name given to all the programs that
  192.           make up this system.  For example, PCTRACE includes SCAD, RPRINT,
  193.           and PCTRACE itself.
  194.           Key features include:
  195.                 1.  Autorouting
  196.                 2.  Graphic interactive routing
  197.                 3.  Board layout functions
  198.                 4.  Flexible pinouts for devices
  199.                 5.  2X and 1X output for use in making PC boards
  200.                 6.  Disk functions built into the software
  201.                 7.  Sophisticated component and connection entry systems
  202.                 8.  General statistics
  203.                 9.  Up to 300 components and 1800 connections
  204.                10.  Mouse support in the interactive router
  205.                11.  Variable pad and trace sizes
  206.                12.  Single and double sided boards
  207.                13.  Manual placement of traces
  208.                14.  CGA, EGA, and VGA graphics support to display the
  209.                     board. CGA:80x25 EGA:80x43 VGA:80x60
  210.                15.  Gerber, DXF, and Autocad Script file output
  211.                16.  Actual size silkscreen creation
  212.                17.  Error handling for critical errors
  213.                18.  Schematic Capture for a complete cad system.
  214.                19.  The authors continued support
  215.  
  216.  
  217.  
  218.                                      Installation
  219.  
  220.           Contents of PC-Trace directory:
  221.           PCTRACE   .EXE - The board layout/main program
  222.           SCAD      .EXE - Schematic CAD
  223.           RPRINT    .EXE - The PC-Trace printer output program
  224.           SPRINT    .EXE - The SCAD printer output program
  225.           CONVCDT   .EXE - Converts 4.0 and older files to 5.0
  226.           CONVDEF   .EXE - Converts 4.0 and older files to 5.0
  227.  
  228.  
  229.                                                           PC-Trace Users Manual
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.                                                                           5
  238.  
  239.  
  240.           *         .DEF - PC-Trace part layout files
  241.           *         .DIA - SCAD symbols
  242.  
  243.  
  244.  
  245.           System Requirements:
  246.           To run this program requires:
  247.                1. CGA, EGA, or VGA graphics
  248.                2. 640k of memory with 520k free
  249.                3. 1 floppy disk drive
  250.                4. Hard Disk Drive or Large capacity floppy
  251.                5. One of the following printers:
  252.                     a. IBM PC or compatible printer
  253.                     b. EPSON LQ-2500 or compatible printer
  254.                     c. HP Laserjet II or compatible
  255.                     d. Adobe Postscript Compatible printer
  256.                     e. HP Deskjet or Deskjet +
  257.                     f. Epson MX-80 or compatible
  258.                     g. IBM Proprinter 24pin must be in AGM mode
  259.                     h. HP and Roland Plotters
  260.                6. Mouse is required for SCAD and usable in PC-Trace
  261.           A fast processor and math coprocessor are also beneficial.
  262.  
  263.           Software Setup:
  264.  
  265.                For PCTRACE to run reliably, a line must appear in the
  266.           config.sys files that says FILES=20.  If any other major
  267.           commercial software applications are in use this command probably
  268.           exists, but it should be checked.
  269.                To install the software insert disk 1 in either drive A: or
  270.           B:.  Change to the drive that the floppy disk is in.  To do this
  271.           type A: or B: from the dos prompt.  To start the installation
  272.           process, type INSTALL from the DOS prompt.  The installation
  273.           program will run and prompt for the drive that the install disk
  274.           is in.  Enter the letter and verify that it is correct.  The next
  275.           prompt is for the destination drive.  This should be the letter
  276.           of a hard-disk or alternate floppy disk that has at least 1mb of
  277.           free space.  Verify that the destination of the program is
  278.           correct.  The installation program will notify the user that it
  279.           is ready to start the installation process and that Disk 1 should
  280.           be placed in the disk drive.  This should already be the case. 
  281.           Press SPACE to begin.  After a few moments, a prompt will appear
  282.           for the user to insert disk 2.  If PCTRACE was shipped on a
  283.           single floppy (3.5 inch) disk 2 is the same as disk 1.  If the
  284.           program came on two floppies (5.25 inch) insert the second disk. 
  285.           Press space to finish the installation.
  286.                To execute the programs the user must change into the
  287.           PCTRACE5 directory using the command CD \PCTRACE5.  The programs
  288.  
  289.                                                           PC-Trace Users Manual
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.                                                                           6
  298.  
  299.           will not run properly if run from some other directory than
  300.           PCTRACE.  To run the programs type PCTRACE, SCAD, or RPRINT from
  301.           the DOS prompt.  Install will also create two subdirectories
  302.           called DEFILES and DIAGRAMS to store the definition files for
  303.           PCTRACE and symbol files for SCAD.
  304.                Two programs are included to help with the update process. 
  305.           CONVDEF.EXE is used to modify the old .DEF files that the user
  306.           might already have created.  To use this program, copy it into
  307.           the subdirectory that holds the old .DEF files.  Type CONVDEF,
  308.           the program will run and update the file format of all the old
  309.           files.  CONVDEF can now be deleted from the hard-disk anywhere
  310.           that it appears.
  311.                The second program is used to update the .CDT files.  This
  312.           program requires that the .CDT file be in the same directory as
  313.           CONVCDT.EXE.  To convert the file, type:
  314.  
  315.                CONVCDT file1.CDT file2.CDT file3.CDT.
  316.  
  317.                The program will update the file from the 3.0 and 4.0 format
  318.           to the 5.0 format.  The old file will be saved in a .BAK file.
  319.                One major consideration when moving a 4.0 file to the 5.0
  320.           system is the advanced silkscreening.  The parts are referenced
  321.           to a most upper left corner for placement, this includes
  322.           silkscreen parts.  If a part exists on an old board and is
  323.           converted to the 5.0 program, that part should be left unchanged
  324.           as far as silkscreen.  If the silkscreen is drawn around that
  325.           part, it will offset the location of the pads and the existing
  326.           traces will not meet the pads in the correct place.  This will be
  327.           immediately visible as the affected parts will appear to have too
  328.           many pads.  If the user desires the silkscreen on the old board
  329.           with the 5.0 software, they should be prepared to move components
  330.           around in the interactive router to get the pads in the popper
  331.           places.  Traces that were overwritten by the incorrectly placed
  332.           pad may have to be repaired as well.
  333.  
  334.  
  335.                                  User Support Methods
  336.           Phone Calls:
  337.                     All registered users are free to call anytime to notify
  338.                the author of bugs, perceived bugs, program usage questions,
  339.                suggestions of additions, and anything else that the end
  340.                user feels the need to discuss with the author.  The BBS is
  341.                also a good way to receive support for the registered user.
  342.                     Un-registered users are also welcome to call during the
  343.                evening when having problems getting the demonstration
  344.                version of PCTRACE running.  The support will be more
  345.                limited.  A better, and preferred method by the author, is
  346.                for these users to use the BBS.
  347.  
  348.  
  349.                                                           PC-Trace Users Manual
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.                                                                           7
  358.  
  359.           BBS Support:
  360.                     Perhaps the best reason to register the demo version is
  361.                to get the support of the registered user section on the
  362.                BBS.  The complete PCTRACE system is posted in this area for
  363.                downloading.  Upon registration all users receive a password
  364.                on this system that allows them to download the most current
  365.                bug fixes any time they like.  The user name and password
  366.                appear on the first page of the manual.  Part and symbol
  367.                libraries will also be posted and hopefully uploaded by
  368.                users of the system.  Other programs deemed useful by the
  369.                author will be posted for all users as well as the demo
  370.                version of the software.
  371.                     To access the BBS, call the number listed on the
  372.                opening screen of the software with a modem control package
  373.                such as PROCOMM or QMODEM.  
  374.                     Support is provided courtesy of the author.  Please
  375.                feel free to log in to the BBS anytime.  Voice calls should
  376.                be at a decent hour and evenings are best.  Please exhaust
  377.                all possibilities before making the call and be sure to try
  378.                and understand the problem before making the call to better
  379.                explain it to the author.  If it is possible, please try and
  380.                isolate the problem to the point that it can be repeated by
  381.                executing a certain sequence of events.  By doing this, it
  382.                becomes much easier to find and fix the errors in
  383.                programming.
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.                                                           PC-Trace Users Manual
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.                                                                           8
  418.  
  419.                                    PC-Trace Manual
  420.  
  421.                                   Input/Output Menu
  422.           1. Load Data:
  423.                     This function is used to retrieve from a disk necessary
  424.                information to design a printed  circuit board.  Select this
  425.                function  from the menu  and when  prompted, enter  the file
  426.                name.  No extension  is used, the program will add  the .CDT
  427.                extension.   The  path should  not be  used on  the filename
  428.                itself.  There is a function that will be discussed later to
  429.                set  the  path name.    After entering  the  filename, press
  430.                Return.   The program will ask if  this is the correct name,
  431.                enter Y  or  N to  answer.   If the  file is  not found  the
  432.                program will reprompt for file name.  The ESC key is used to
  433.                jump  back to  the main  menu instead  of entering  the file
  434.                name.
  435.  
  436.           2. Save Data:
  437.                     This function  will save a complete  description of the
  438.                design layout,  component list,  and connection list.   When
  439.                prompted, enter the filename.  Again do not specify the file
  440.                extension  or path name.   PCTRACE will  ask, after entering
  441.                the  file name, if everything is correct.   If so, enter a Y
  442.                or N.   If  the file exists  the program  will ask if  it is
  443.                alright to overwrite the file.  N will prompt for a new file
  444.                name.  ESC will bypass the prompt back to the I/O menu.
  445.  
  446.           3. Erase Data:
  447.                     This  routine  clears the  memory of  the program.   It
  448.                erases the boards, component list, and connection list.  The
  449.                program will ask for confirmation before erasing the data in
  450.                memory.   Answer  Y or  N.   The  program will  respond with
  451.                "Erasing..."  and after a few  seconds drop back  to the I/O
  452.                menu.
  453.  
  454.           4. Import Data:
  455.                     This load  routine works the  same as the  primary load
  456.                command in this menu.  The difference is that it  is made to
  457.                load a netlist  generated by SCAD.  Creation of this file is
  458.                covered in the SCAD manual.  Once this file has been loaded,
  459.                assuming that it is  a complete design, all that  remains is
  460.                to  place the  parts,  make any  minor  design changes,  and
  461.                autoroute the board.  This is a best case scenario and  more
  462.                work is usually required.
  463.  
  464.           5. Disk Directory:
  465.                     This function displays a listing of the all the circuit
  466.                data files on the current drive and path.  Use the space bar
  467.                to  view twenty file  names at a  time.  When  no more files
  468.  
  469.                                                           PC-Trace Users Manual
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.                                                                           9
  478.  
  479.                exist, the space bar returns to the I/O menu.
  480.  
  481.           6. Change drive/path:
  482.                     This  function changes the  current path.   The ESC key
  483.                will back  out of  the function  without changing the  path.
  484.                The function  will display  the current  drive and  path and
  485.                then prompt for a new one.  Just enter the new one and press
  486.                Return.
  487.  
  488.                                 Define/Edit Board Menu
  489.  
  490.           1. Component Edit/Entry:
  491.                This function is  used to enter components into  the system.
  492.           Selecting this function  will place the user in the entry/editing
  493.           environment.    If  no  components have  been  entered  only  two
  494.           possible commands  will  be shown,  if  there are  components  in
  495.           memory  the programs  shows options to  delete, copy  and perform
  496.           other functions. 
  497.  
  498.           New Component Entry:
  499.                Typing  an  "A" will  allow entry  of  new components.   The
  500.           program  will display the component number being entered and then
  501.           prompt for the  name.  The name  may be up to  15 characters long
  502.           and serves  only to remind  the designer  of what the  device is.
  503.           ESC can  be used at this point to return you to the entry/editing
  504.           environment.
  505.                The  next  question is  for the  designation.   This  is the
  506.           unique name  that is given to  the component and will  be used in
  507.           the  future to refer to it.   Typical names include IC1, R1, IC2,
  508.           and A1.  There are two reserved designations.  The first reserved
  509.           designation starts with "V" and then a number, so V1 would not be
  510.           accepted  but VI1 would be.   The second  reserved designation is
  511.           "GRNDP".  If this is specified  as a source or destination pad in
  512.           the  autorouter,  a  connection  to  the  ground  plane  will  be
  513.           attempted if  one is defined.   ESC may be used to  back up while
  514.           entering the designation name to reenter the component name.
  515.                Third, the program will prompt for the definition file name.
  516.           This is the name of a file that tells the program how the pins on
  517.           the device being entered are situated.  The program first shows a
  518.           list of  possible definition file names  at the lower right.   At
  519.           the end of  the list the program will prompt for  a name.  Do not
  520.           enter a file extension, the program will add it for you.   If the
  521.           name of  the  file entered  exists,  it will  read  the file  and
  522.           display the chip definition to see if it is correct.  If the user
  523.           answers "yes" the program will continue to the next question.  If
  524.           the  user  answers  "no",  the  program  will  reprompt  for  the
  525.           definition  name after displaying the possible files.  ESC may be
  526.           used  to  back up  and reenter  the  component designation.   New
  527.           definition  files can be created with the subprogram DEFGEN.  See
  528.  
  529.                                                           PC-Trace Users Manual
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.                                                                          10
  538.  
  539.           that section of the manual for information on its usage.
  540.                The  fourth prompt asks for the pad  size for the device.  A
  541.           small window will  pop up and prompt for a  pad size between 0.05
  542.           inches  and  0.15 inches.    All pads  are  circular.   Enter the
  543.           corresponding number to the pad size.
  544.                The  next question  the program  will ask  if everything  is
  545.           correct.   Answering  "no" will  restart  this process  with  re-
  546.           prompting  for the  name.   Answering  "yes"  will get  the  next
  547.           prompt.
  548.                The next prompt is to keep this device.  Answering "no" will
  549.           skip the next prompt and ask if you wish to enter another device.
  550.           Answering "yes" displays the next prompt.
  551.                This prompt asks if the user wishes to place the device now.
  552.           Entering  "no" will allow  the delay  of this  until later.   All
  553.           devices must be placed somewhere on the board before they  can be
  554.           connected.  Placing a chip goes as follows:
  555.  
  556.           Placing Chips:
  557.                     When the  graphic screen  comes up a  representation of
  558.                the current  circuit board with all  other placed components
  559.                and ground planes are shown.  The chip being entered will be
  560.                shown in the upper left corner of the board.  The arrow keys
  561.                will  move this chip around on the  board. By using a shift-
  562.                arrow  combination the chip can  be moved faster.   Move the
  563.                chip to its final place  and press return.  Chips cannot  be
  564.                overlapped.   The chip is now placed  in this location.  ESC
  565.                will  exit  without  placing  the  chip.    Confirmation  of
  566.                abandoning the placement  is asked.  Yes will go to the next
  567.                prompt, no will return to the place before hitting ESC.
  568.  
  569.                The last prompt is to enter another chip or  not.  Answering
  570.           "yes" will put the user back at the name prompt  to enter another
  571.           chip.    No  will   put  the  user  back  in   the  entry/editing
  572.           environment.
  573.  
  574.           Editing Component Definitions:
  575.                Selecting  E  from  the  entry/editing   environment  allows
  576.           editing of any part of each definition.  Simply select the letter
  577.           of the item to change.  For example, to  change the name, press A
  578.           after pressing  E and enter the  new name.  Either  enter the new
  579.           name, or press  ESC to leave  it unchanged.   When done  editing,
  580.           press the key that corresponds to exiting the edit.
  581.                If editing the placement of chips, the  chip definition file
  582.           must  be present  in the DEFILES  subdirectory for  the placechip
  583.           function to work.   The  only time this  is a  problem is if  the
  584.           board being edited is not your own, such that the chip definition
  585.           files have different names from your own.
  586.  
  587.  
  588.  
  589.                                                           PC-Trace Users Manual
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.                                                                          11
  598.  
  599.           Deleting Component Definitions:
  600.                This function allows removal of a  component.  The component
  601.           that  will be  deleted  is the  one  currently displayed  on  the
  602.           screen.   Press  D  and confirmation  will  be asked  for  before
  603.           deleting  the component.   Answer  accordingly.   All connections
  604.           that contained the deleted function will also be deleted.
  605.  
  606.           Copying Components:
  607.                This function  will allow  copies of  a  chip definition  to
  608.           speed  the entry  of chips.    It will  copy everything  from the
  609.           displayed  definition   to  a  new  definition   except  for  the
  610.           designation  from  which it  will take  the  alpha part  and then
  611.           increment the numerical part to the next available part.  It also
  612.           does not put the chip in the same location.  The program will ask
  613.           if the user wishes to place the chip now or later.
  614.  
  615.           Searching for a Component:
  616.                Sometimes finding the component  that needs to be edited  or
  617.           deleted  can  take some  time on  a large  board.   This function
  618.           allows a search  for components by  designation.  When  prompted,
  619.           enter the designation.  PCTRACE will change the case to upper. If
  620.           it exists,  the program will display that device's number.  If it
  621.           doesn't exist, nothing happens.
  622.  
  623.           Incrementing and Decrementing the displayed Component:
  624.                Using  + and  -  will change  the  displayed component.    +
  625.           increments  and - decrements.  The display is circular in nature,
  626.           therefore hitting  + at  the last component  will move it  to the
  627.           first and hitting - at the first will move it to the last.
  628.  
  629.           Exiting the Entry/Editing Environment:
  630.                Use the N key to end these functions and return to the board
  631.           definition menu.
  632.  
  633.           2. Connection Edit/ Entry:
  634.                This  system  allows  for  entry  and  editing  of  all  the
  635.           connections  that need to be  made between the  components in the
  636.           system.    The  functions  are  very  similar  to  the  component
  637.           functions.
  638.  
  639.           New Connection Entry:
  640.                Typing  an "A"  will allow  entry of  new connections.   The
  641.           program will display the connection number being entered and then
  642.           prompt  for the  name of the  source designation.   The name must
  643.           exist in memory as a component.  ESC can be used at this point to
  644.           return to the entry/editing  environment.  If a ground  plane has
  645.           been defined, the  reserved designation  "GRNDP" can  be used  to
  646.           connect to it.  The associated pin is ignored and defaults to 1.
  647.                The  next question is for the source chip pin number.  Enter
  648.  
  649.                                                           PC-Trace Users Manual
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.                                                                          12
  658.  
  659.           the number of the pin that the  trace is to connect to.  ESC will
  660.           back up to the previous prompt. 
  661.                The  program will now prompt for the name of the destination
  662.           designation.    The name  must exist  in  memory as  a component.
  663.           "GRNDP" can be used as a destination as well.  ESC can be used at
  664.           this point to return to the previous prompt.
  665.                The  next question if  for the destination  chip pin number.
  666.           Enter the number of the pin that the other end of the trace is to
  667.           connect to.  ESC will back up to the previous prompt.
  668.                The program will now ask if this is a priority route or not.
  669.           By  answering "yes", this trace  will be routed  before all other
  670.           non-priority  routes no matter how long it  may be and what other
  671.           routes it may block.  This might be used for making sure a memory
  672.           access  bus is all done in copper  instead of using jumpers for a
  673.           vital connection.
  674.                Next, the program will want to know the desired trace width.
  675.           Traces  from 0.01  to  0.07 are  supported.   Select  the  number
  676.           corresponding  to the  size required.   The following  table will
  677.           show what size trace will  go between two pads of some  size that
  678.           are spaced on 0.1 inch centers.
  679.                                   Pad Size (inches)
  680.           Trace width    0.05      0.06      0.07
  681.                0.01 Yes       Yes       No
  682.                0.02 Yes       No        No
  683.                0.03 Yes       No        No
  684.                0.04 No        No        No
  685.                0.05 No        No        No
  686.                0.06 No        No        No
  687.                0.07 No        No        No
  688.  
  689.           These tolerances  can be overridden using  the interactive router
  690.           which will be discussed later.
  691.                The next question the  program will ask is if  everything is
  692.           correct.  Answering "no" will restart this process by reprompting
  693.           for the source designation.  Answering yes will bring up the next
  694.           prompt.
  695.                The  next  prompt  is  if  the  user  wishes  to  keep  this
  696.           connection.   Answering "no" will skip the next prompt and ask if
  697.           you  wish to enter another connection.  Answering "yes" brings up
  698.           the next prompt.
  699.                The  last  prompt asks  if  another connection  needs  to be
  700.           entered.   Answering "yes", will put  start back up at the source
  701.           designation prompt to enter another connection.  "No" returns the
  702.           program back to the entry/editing environment.
  703.  
  704.           Editing Connection Definitions:
  705.                Selecting  E from the  entry/editing environment  will gives
  706.           the  user  the ability  to change  any  part of  each connection.
  707.           Simply select  the letter of the item to change.  For example, to
  708.  
  709.                                                           PC-Trace Users Manual
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.                                                                          13
  718.  
  719.           change the source designation, press A after pressing E and enter
  720.           the  new designation.  Either enter the new designation, or press
  721.           ESC to leave it unchanged.  Press N to exit the edit mode.
  722.  
  723.           Deleting Connection Definitions:
  724.                This  function   allows  removal  of  a   connection.    The
  725.           connection that will be deleted is the one currently displayed on
  726.           the screen.  Pressing D will confirm before actually deleting the
  727.           connection.  Answer accordingly.
  728.  
  729.           Searching for a Connection:
  730.                Finding  the connection to edit or delete can take some time
  731.           on a large board.  This  function allows a search for connections
  732.           by  designation.   When prompted,  enter the  designation sought.
  733.           PCTRACE will change the case to upper for you.  PCTRACE then will
  734.           search from  the current connection to the end.  It looks at both
  735.           the source and destination designations for a match.  If it finds
  736.           the  search string  the  program will  display that  connection's
  737.           information.  If it doesn't exist, nothing changes.
  738.  
  739.           Incrementing and Decrementing the displayed Connection:
  740.                Using  +  and -  will change  the  displayed connection.   +
  741.           increments  and - decrements.  The display is circular in nature,
  742.           therefore typing +  at the last connection moves it  to the first
  743.           connection and pressing - at  the first will move it to  the last
  744.           connection.
  745.  
  746.           Exiting the Entry/Editing Environment:
  747.                Use the N key to end these functions and return to the board
  748.           definition menu.
  749.  
  750.           3. Ground Plane:
  751.                This function is used to set up a ground plane.  The program
  752.                will display a picture of the board.  It will prompt for the
  753.                width of  the ground  plane on  all four  sides on  both the
  754.                component side and  solder side  of the board.   Each  digit
  755.                entered corresponds to .05 actual  inches.  The ground plane
  756.                may  be changed at any time.   ESC will also back out of the
  757.                first prompt only (top-solder side).
  758.  
  759.                ***  Please note that  this function erases any work done in
  760.                     the interactive router (discussed later).
  761.  
  762.  
  763.  
  764.           4. Define Board Size:
  765.                This  function is the first  function used.   It defines the
  766.                dimensions  of the board.  The  maximum board size supported
  767.                by  PCTRACE is  8" X  10".  When  prompted for  numbers, the
  768.  
  769.                                                           PC-Trace Users Manual
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.                                                                          14
  778.  
  779.                numbers  are  entered  as  multiples  of  5.    Each  number
  780.                represents 0.05" of  actual size.  So an entry  of 100 would
  781.                correspond  to 5".   Board sizes can be  changed at any time
  782.                during  the design process by calling the routine again.  If
  783.                the board is made  smaller, the chips that were  outside the
  784.                new border  will have to be  replaced.  ESC will  back up to
  785.                the  previous prompt, or jump out of the routine leaving the
  786.                board size unchanged.
  787.  
  788.           5. Spider Web:
  789.                This function  is useful for checking to see if a chip would
  790.                be more logically placed somewhere else.  By using the + and
  791.                -  keys,   various  chips  and  their   connections  can  be
  792.                displayed.   As each  chip is selected,  it, as  well as all
  793.                traces connected to it are highlighted in red.  Once  a chip
  794.                is highlighted, selecting M will allow movement of the chip.
  795.                After pressing M, the arrow keys become active and the chip,
  796.                as  well as all its connections will be rubber banded around
  797.                the  board.   Pressing  RETURN will  place  the chip  at the
  798.                current location, or press ESC to not place the chip and put
  799.                it back  at its original  location.  The  ESC or E  key will
  800.                exit from this function.
  801.                *** Please note, if  chips are moved, the  work done by  the
  802.                interactive router is erased.
  803.  
  804.  
  805.                                   Interactive Router
  806.  
  807.                This   board  editing   system   allows   the  designer   to
  808.           interactively design a board.  It can be very useful  for finding
  809.           possible routes that  the autorouter  was unable to  find.   Upon
  810.           entry  to this  section, the  program generates  the  borders and
  811.           places  the  pads  of all  the  chips.    If  a large  number  of
  812.           components has  been placed  on the  board, it  could take a  few
  813.           moments.  It will also  ask the user to place all the  chips that
  814.           have not  been placed  yet.   If you intend  to route  the entire
  815.           board this way,  place your chips  and then leave  them.   Moving
  816.           them  around  after  placing the  chip  will  distort the  board.
  817.           PCTRACE  has  no way  of  connecting  traces up  to  a chips  new
  818.           location.   The  screen  will  show  all  the  chips  with  their
  819.           designations centered  amid each  component pin unless  DEFGEN is
  820.           used to  lock the location  of the designation.   This system has
  821.           many  keys that  are  active  while  in  this  environment.    An
  822.           explanation of each follows.
  823.  
  824.           S - switch sides:
  825.                This function changes the side of the board displayed.  When
  826.                S is pressed, the  other side of the board  becomes visible.
  827.                The program supports only 2 sides, solder and component.
  828.  
  829.                                                           PC-Trace Users Manual
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.                                                                          15
  838.  
  839.           K - Silkscreen toggle:
  840.                Pressing this key toggles the silkscreen  display on and off
  841.                while in the  interactive router.   It defaults  to ON  upon
  842.                entry to the interactive router.
  843.  
  844.           C - move a component:
  845.                Pressing this key will give the  user the option of moving a
  846.                component within the interactive  router.  After pressing C,
  847.                the bottom  of the screen  will show  a brief  listing of  a
  848.                component.  The  name and  designation are listed.   +  will
  849.                move to the next component, and - to the previous  one.  ESC
  850.                will exit the component movement function.  Pressing  M will
  851.                erase the  displayed component  and redraw the  screen.   At
  852.                this point, move the cursor to the upper  left corner of the
  853.                area where the component will be placed and press G to place
  854.                it.    It  is  important  to  understand   that  the  cursor
  855.                represents  the  absolute  upper  left corner  of  the  part
  856.                including any silkscreen extensions.
  857.  
  858.           G - grab location:
  859.                The key  is only active at  certain times.  The  F1, F2, F4,
  860.                F5, F6, F7, and F10  function all use this key.  The  key is
  861.                normally used to mark a location on the board or  a piece of
  862.                a trace.
  863.  
  864.           B - Turn on background:
  865.                This  key is used to  turn on and  off the background layer.
  866.                If  editing  the  solder  side,  a  lightened  view  of  the
  867.                component side  can be turned  on.   On a color  monitor, it
  868.                will appear dotted and  red.  Black and white  monitors will
  869.                show dotted graphics only.  Pressing B again turns this mode
  870.                off.
  871.  
  872.           E or ESC - end:
  873.                Pressing E or ESC will exit from the interactive router.
  874.  
  875.           Cursor Keys:
  876.                The  cursor keys move the  solid block around  on the board.
  877.                Each time an  arrow key is pressed,  the cursor will  move 1
  878.                space.   Relative coordinates are displayed at the bottom of
  879.                the  screen.  Using Shift-Arrow  moves the cursor 10 spaces.
  880.                If  the edge of the screen  is encountered, but not the edge
  881.                of the board, the screen will shift the board over.
  882.  
  883.           Function Keys:
  884.                The function  keys numbered  F1-F10 do  the majority  of the
  885.           work in PCTRACE.   They allow placement of vias,  running traces,
  886.           deleting traces, resizing traces, and deleting vias.
  887.  
  888.  
  889.                                                           PC-Trace Users Manual
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.                                                                          16
  898.  
  899.           F1 - Set Source:
  900.                By  pressing  F1,  the bottom  of  the  screen  will say  to
  901.                position  the cursor on the  pad that will  be designated as
  902.                the source and then press  G to grab it.  The  bottom status
  903.                line will display exactly what chip and pin number have been
  904.                selected.
  905.  
  906.           F2 - Set Destination:
  907.                This function works exactly  as the F1 function but  selects
  908.                the destination pin.
  909.  
  910.           F3 - Run Trace:
  911.                Once a source and destination have been defined, pressing F3
  912.                will  attempt  to connect  the two  pins  with a  trace 0.01
  913.                inches  wide.   If  it is  successful,  the screen  will  be
  914.                redrawn  and the trace will  appear.  If  it cannot complete
  915.                the route, a  message will be displayed at the bottom of the
  916.                screen.   At this point try  placing a via and  routing from
  917.                the source  to  it on  one  side and  from  the via  to  the
  918.                destination on the other.
  919.  
  920.           F4 - Delete Trace:
  921.                This  function  will delete  any part  of  any trace  on the
  922.                board. Pressing F4 enters the  delete selection mode.  After
  923.                pressing F4 the screen will  say to use G to grab  the parts
  924.                to  be deleted.  As the user  presses G on valid traces, the
  925.                pieces will  be highlighted.  Changing screens by moving the
  926.                cursor off  the screen  will not  lose the  already selected
  927.                traces.  Once all  the pieces to delete have  been selected,
  928.                press F4  again  and  the  program will  prompt  to  confirm
  929.                deleting of the  selected traces.   Answer Y  to finish  the
  930.                delete operation.
  931.  
  932.           F5 - Add Via:
  933.                This function  key will  add a  via at  the location  of the
  934.                cursor when G  is pressed.  It  will be V and  then the next
  935.                available number.   Use these for multilevel  routes or just
  936.                extra  pads needed.  A  via cannot be  placed adjacent to an
  937.                existing pad.  One can be placed diagonally from  a pad .  A
  938.                via  also may not be  placed in the middle of  a trace.  All
  939.                vias are deleted by the autorouter when it is invoked.
  940.  
  941.           F6 - Del Via:
  942.                This  function deletes the via at the cursor location when G
  943.                is pressed if a via exists there.
  944.  
  945.  
  946.  
  947.  
  948.  
  949.                                                           PC-Trace Users Manual
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.                                                                          17
  958.  
  959.           F7 - Resize trace:
  960.                This function will resize  a trace to any valid  trace size.
  961.                Select F7  and use G to  select the traces to  resize.  Once
  962.                the traces to  resize have  been selected press  F7 and  the
  963.                program will ask for  confirmation of the resize.   Answer Y
  964.                to resize.   The program  will prompt for  the trace  resize
  965.                value.  1 corresponds to 0.01  up to 7  which corresponds to
  966.                0.07 inches.  Be careful not to overlap other traces or pads
  967.                with this function.
  968.  
  969.           F8 - Check Route:
  970.                This  function will check to see if  a selected pair of pads
  971.                can be connected.  It will report back whether the route can
  972.                be completed, the route  exists already, or if no  route can
  973.                be found.  This is useful for doing multi-layer routes using
  974.                vias.   Checking for  an available  route before  laying the
  975.                actual trace will save a number of deletes if later the path
  976.                is blocked.
  977.  
  978.           F9 - Manual Route:
  979.                This  function allows  the  user to  manually route  traces.
  980.                Place the  cursor on the starting pad or trace and press F9.
  981.                A prompt will appear  at the bottom of the screen asking for
  982.                the trace width.   Enter the number that corresponds  to the
  983.                desired size and press  return.  Now use the  cursor control
  984.                keys to  route the trace.  Every  time the cursor moves, the
  985.                trace  is lengthened.   When  done, either  stop in  an open
  986.                space and press F9  or stop on a trace or  pad and press F9,
  987.                the  correct  connecting piece  will  be added  to  make the
  988.                connection.  Please note that moving over an  existing trace
  989.                will cause  PCTRACE to cut  that trace in  favor of  the new
  990.                path.   This  works well  for putting  short jumpers  on the
  991.                board.   This is very  useful for routing  traces that would
  992.                normally  block other routes  if they  were not  placed this
  993.                way.   With  the interactive  router any  size trace  can be
  994.                placed anywhere.  It is possible to over-ride the autorouter
  995.                and  run a 0.01  inch trace between  two 0.07 pads.   If the
  996.                board-making process used is accurate to 0.01 many low power
  997.                traces can be completed this way.  The manual router is also
  998.                used  in  many  advanced  "tricks"  for  making  specialized
  999.                boards.
  1000.  
  1001.           F10 - Write Text:
  1002.                Pressing  F10  allows additional  text  to be  added  to the
  1003.                silkscreen layer.   After pressing F10, the program will ask
  1004.                the user to move the cursor to the starting position for the
  1005.                text  and  press G.   After  pressing  G, the  software will
  1006.                prompt  for  the text  string.   It  will  accept  up to  20
  1007.                characters.   When done  entering text, press  return.   The
  1008.  
  1009.                                                           PC-Trace Users Manual
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.                                                                          18
  1018.  
  1019.                next prompt is for  double sized text.  Answer "yes" and the
  1020.                text  will  appear double  sized.   The  board will  then be
  1021.                redrawn with the text added in.   The only thing to be aware
  1022.                of is that normal silkscreen text takes precedence over user
  1023.                added text.
  1024.  
  1025.           Using a mouse in the interactive router:
  1026.                The mouse allows  a faster  method to do  all the  functions
  1027.           mentioned  previously except  for the  manual router.   The mouse
  1028.           must  be installed  before  running the  PCTRACE  program.   When
  1029.           entering the interactive program  four arrows will appear  in the
  1030.           lower right corner of  the screen.  By  using the mouse,  putting
  1031.           the cursor on one of these  arrows, and pressing the left button,
  1032.           the screen will  be moved by  half in that  direction.  The  same
  1033.           thing was accomplished by  moving the cursor off the  board using
  1034.           the arrow keys.
  1035.                Pressing  the  right button  will pop  up  a menu  along the
  1036.           bottom of the screen.  The  menu corresponds to function keys F1-
  1037.           F8, and F10.  The exit command at the far right, exits the  menu.
  1038.           By placing the cursor anywhere on  the command desired, execution
  1039.           of that  command is  done by  pressing the left  button.   If the
  1040.           command selected is F1, F2,  F4, F5, F6, F7, or F10,  the program
  1041.           will be using the "Grab" method.  The left button  works the same
  1042.           as the G  key in these cases.   Use it to highlight  sections and
  1043.           locations on the board to  work with.  When using the  delete and
  1044.           resizing  functions (F4 and F7)  the user must  press and release
  1045.           the left button for each piece of trace.
  1046.  
  1047.                                      Autorouting
  1048.                Selecting this from the menu will enable the user to connect
  1049.           all  or most of the connections  desired.  The program will first
  1050.           draw borders, place  pads, and set  up the ground  planes.  If  a
  1051.           component has not been placed,  the program will ask the  user to
  1052.           place it.   The program requires all chips to be placed before it
  1053.           can  route.    There are  four  routing  strategies  that can  be
  1054.           employed.  Select each strategy by  pressing Y or N as the cursor
  1055.           moves to each option.  If Y is selected for single or  double via
  1056.           routing a prompt will also appear for the maximum number of tries
  1057.           for each.   Just enter a  number.  Bigger numbers  are better for
  1058.           bigger boards, smaller numbers for small boards.
  1059.                The  PCTRACE  system  is  totally  re-entrant.    The  first
  1060.           question  asked  is  if the  user  wishes  to  clear all  traces.
  1061.           Answering  "yes" clears anything  currently on  the board.   "No"
  1062.           would keep the screen as it was.   ESC can  be pressed during any
  1063.           routing  strategy to exit that  routine and the  autorouter.  The
  1064.           program will then show  the list of all unconnected  routes still
  1065.           existing.   If the router  has not completed  one run-through the
  1066.           connection list,  traces may have  been completed by  the earlier
  1067.           route and still be  reported as unconnected.  A  design check can
  1068.  
  1069.                                                           PC-Trace Users Manual
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.                                                                          19
  1078.  
  1079.           be done  to see which routes in the connection list have not been
  1080.           connected,  either by hand or  by the autorouter,  by running the
  1081.           autorouter and not erasing  the current traces.  This  is because
  1082.           the autorouter  will not  reroute a connection  that has  already
  1083.           been completed.   Just select  the double or  single sided  route
  1084.           system.   It  will report  any routes  that are incomplete.   Any
  1085.           route  that was completed before  will be marked  as complete and
  1086.           not reported.   The program will  report whatever routes  weren't
  1087.           done and the ones it couldn't complete.
  1088.  
  1089.           Single Sided Route:
  1090.                This  function will attempt to  place all the  routes on the
  1091.                solder  side  of  the board.    It  is  the least  efficient
  1092.                strategy  but  is great  for  small projects  where  ease of
  1093.                making the board itself is a priority.  This function cannot
  1094.                be used in conjunction with the next three strategies.
  1095.  
  1096.           Double Sided Route:
  1097.                This function will do its routing on two sides of the board.
  1098.                It has a higher completion percentage  than the single sided
  1099.                strategy.
  1100.  
  1101.           Single Via Route:
  1102.                This  function requires  that the  double sided  strategy be
  1103.                selected first.    This function  is used  after the  double
  1104.                sided strategy  to try  to complete any  uncompleted routes.
  1105.                It places  a via  and tries  to do the  single route  with a
  1106.                trace on  each side of  the board.  A  number such as  50 is
  1107.                good for the maximum number of tries prompt.
  1108.  
  1109.           Double Via Route:
  1110.                This  function also  requires that  double sided  routing be
  1111.                selected to work.  It  uses two vias to attempt  to complete
  1112.                the route.   A good  maximum number  of tries is  30 or  so.
  1113.                This function can take a great deal of time so be patient.
  1114.  
  1115.                                    Board Statistics
  1116.  
  1117.           This function displays 5 statistics.
  1118.  
  1119.           Equivalent Integrated Circuit Count:
  1120.                This function is the total number of pins divided by 16.
  1121.  
  1122.           Board Density: This is  the amount of space total  that each chip
  1123.                          has  to occupy.   It  is calculated by  taking the
  1124.                          area of  the board and dividing  by the Equivalent
  1125.                          IC count.
  1126.  
  1127.  
  1128.  
  1129.                                                           PC-Trace Users Manual
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.                                                                          20
  1138.  
  1139.           Total Trace Length: The function  gives the  total length  of all
  1140.                               the  traces on  the board.   The  smaller the
  1141.                               number, the better the design.
  1142.  
  1143.           Board size:    The board dimensions in inches.
  1144.  
  1145.           File name:     This is the file name currently in memory.
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.                                                           PC-Trace Users Manual
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.                                                                          21
  1198.  
  1199.                                      Printer Menu
  1200.  
  1201.           1. Print Components:     This  function will  generate a  list of
  1202.                                    all the components.  It can be sorted by
  1203.                                    name or designation.  
  1204.  
  1205.           2. Print Connections:    This  function will  generate a  list of
  1206.                                    all the  connections in memory.   It can
  1207.                                    be sorted  by the source  or destination
  1208.                                    designation.
  1209.  
  1210.  
  1211.                                      Export Menu
  1212.  
  1213.                The  export menu allows for files to be created that various
  1214.           other  cad software and board producers use.  After selecting the
  1215.           Export menu from the main menu, four export choices will be seen.
  1216.  
  1217.           1. Write Autocad Script file:
  1218.                     This function will  write a  file that can  in turn  be
  1219.                read into and edited with Autocad.  The process is one  way,
  1220.                no  way is provided to read autocad files back into PCTRACE.
  1221.                Call this function from the Export menu and give a name when
  1222.                prompted.  Specify no path or file extension.  The extension
  1223.                .SCR will  be added to the  file.  Once the  program is done
  1224.                writing the file, Autocad  may be started.  Use  the command
  1225.                "SCRIPT" from the "Command:"  prompt.  Autocad will ask  for
  1226.                the script file name.  Specify  the same name (with path  if
  1227.                needed)  as the one created in PCTRACE and Autocad will read
  1228.                in the  file.  Autocad  will display  three layers:  solder,
  1229.                component,  and silkscreen.  Each may be edited and saved as
  1230.                Autocad  drawing files.   Doing  this greatly  increases the
  1231.                number  of printers that can  be used for  output as Autocad
  1232.                supports a large number of printers.
  1233.  
  1234.           2. Write a DXF file:
  1235.                     The  DXF  file   is  used  by  many   cad  packages  to
  1236.                incorporate data into their  systems.  Autocad is  one prime
  1237.                example.   The  DXF file  includes all  three layers  in its
  1238.                output (Solder,  Component,  and Silkscreen).   The  command
  1239.                will prompt for  a file name.   Enter  the filename with  no
  1240.                extension.  The  extension .DXF  will be added.   After  the
  1241.                filename has  been  entered, the  DXF  file output  will  be
  1242.                created.   Autocad will  load  this file  using the  command
  1243.                "DXFIN"  from  the Autocad  "Command:" prompt.   Wordperfect
  1244.                will also read a DXF file and convert it to its own graphics
  1245.                format (WPG files).  
  1246.  
  1247.  
  1248.  
  1249.                                                           PC-Trace Users Manual
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.                                                                          22
  1258.  
  1259.           3. Write a Gerber file:
  1260.                     A Gerber file is the standard file type that is used by
  1261.                professional  board manufacturers.    The PC-Trace  software
  1262.                will  generate this file format and is accurate to 3 decimal
  1263.                places.  Upon selection of this option, the user is prompted
  1264.                to enter aperture names to be used.  The aperture is used to
  1265.                describe an entity on the board.   If the photo plotter that
  1266.                the board maker is using requires that  a pad 0.05 inches in
  1267.                diameter  be specified  as  D23,  then  the  0.05  inch  pad
  1268.                aperture name must be changed to reflect this.  The software
  1269.                will ask if the aperture  list is OK.  If it is, press Y for
  1270.                yes and the program will continue.   If N for no is pressed,
  1271.                each aperture must be re-entered as the cursor goes down the
  1272.                column.    ESC  will  bypass a  selection  without  erasing.
  1273.                Retyping will change the selection and return will erase the
  1274.                selection  which  would make  it  necessary  to re-edit  the
  1275.                aperture list.  Once  the list is determined to  be correct,
  1276.                the program prompts for the board  side to be plotted to the
  1277.                file.   Press  the number  that corresponds  to the  desired
  1278.                selection.   Last of all the  program will ask for an output
  1279.                filename.   Enter  the  filename with  no  extension.   Upon
  1280.                pressing  the  return key,  the  program  will generate  the
  1281.                Gerber file.   Two files  will be created.   The first  file
  1282.                will  be the filename plus the extension .GER for the actual
  1283.                Gerber  file.   The  second file  is  the filename  plus the
  1284.                extension  .AP for the aperture  list.  Both  of these files
  1285.                should  be sent  to  the  manufacturer.    A  file  must  be
  1286.                generated  for  each  board  side  that  is  desired  to  be
  1287.                manufactured.  Only one aperture file need be sent.
  1288.  
  1289.           4. Write a CNC Drill file:
  1290.                     A  CNC  drill  file  contains  the  information  for  a
  1291.                Computer Numerically  Controlled  drill press  to drill  the
  1292.                holes  for the pins of  the components to  be placed though.
  1293.                The  software will  prompt for the  drill bit  (tool number)
  1294.                size that should be used for each different  sized pad.  The
  1295.                entry system works the  same as that of the  Gerber aperture
  1296.                definition screen.  The  user will next be prompted  for the
  1297.                output  file  name.    It  should  be  entered   without  an
  1298.                extension.  After pressing return at the end of the filename
  1299.                the  computer will  create the  filename with  the extension
  1300.                .NC.  The file contains the X,Y coordinates of all the pads.
  1301.  
  1302.  
  1303.                                  Exiting the Program
  1304.  
  1305.                Selecting 8 from the  main menu will exit from  PCTRACE back
  1306.           to DOS.   If there is data in memory the  program will ask if you
  1307.           wish to  save it.  Answering  "Yes" will prompt for  a file name.
  1308.  
  1309.                                                           PC-Trace Users Manual
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.                                                                          23
  1318.  
  1319.           Enter  the file name as was done in the save data function in the
  1320.           Input/Output menu.   ESC  will abort  the save,  but it  will not
  1321.           return the user to the program.  Answering "No" to the save query
  1322.           will cause the program to go immediately to DOS.
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.                                                           PC-Trace Users Manual
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.                                                                          24
  1378.  
  1379.                                     Brief Tutorial
  1380.  
  1381.                The  following is  intended as  a method  of getting  up and
  1382.           running with the program.  It will give a general idea of how the
  1383.           program works.
  1384.           1.   Begin by  running PCTRACE.   This  information can  be found
  1385.                back in the section on setting up PCTRACE for your machine.
  1386.           2.   Once  at the main menu,  press 3 for  define/edit board, and
  1387.                then select 4 for define board dimensions.  For our purposes
  1388.                we will use a board size of 80 x 80, which translates into a
  1389.                4 inch square board.
  1390.           3.   Select function 1  to enter  new components.   You will  see
  1391.                that no data has been  entered yet.  Press A to  enter data.
  1392.                We  will put  three chips  on the  board and  two resistors.
  1393.                Answer  each prompt  below with  the following  data.   When
  1394.                asked  to place each chip  answer Y and  place the chip with
  1395.                the  cursor keys.   After  you have  entered the  last item,
  1396.                answer N to the "Enter another component?" prompt.
  1397.  
  1398.           Name: 8051 uP                 Designation: IC1
  1399.           Definition file: DIP40V6      Placement: Left side
  1400.           Pad Size: 0.05
  1401.  
  1402.           Name: 74ls373                 Designation: IC2
  1403.           Definition file: DIP20V3      Placement: Upper right
  1404.           Pad Size: 0.05
  1405.  
  1406.  
  1407.           Name: 2716                    Designation:  IC3
  1408.           Definition file: DIP24V6      Placement: Lower right
  1409.           Pad Size: 0.05
  1410.  
  1411.           Name: 100k resistor           Designation:  R1
  1412.           Definition file: 2PAD50V      Placement: Upper middle
  1413.           Pad Size: 0.06
  1414.  
  1415.           Name: 10k resistor            Designation:  R2
  1416.           Definition file: 2PAD50V      Placement: Lower middle
  1417.           Pad Size: 0.07
  1418.  
  1419.           N exits to the board definition menu.
  1420.           4.   Next,  enter the list of connection between chips.  Select 2
  1421.                from  the menu to enter the connection entry section.  Enter
  1422.                the following connections.  All traces should be 0.02 inches
  1423.                wide.    Answer N  to each  prompt  of "Is  this  a priority
  1424.                connection?".   When  the last  connection has  been entered
  1425.                answer N to the "Enter another connection prompt?".
  1426.  
  1427.           Source Device  Pin  Destination Device  Pin
  1428.  
  1429.                                                           PC-Trace Users Manual
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.                                                                          25
  1438.  
  1439.                IC1  2         IC3       2
  1440.                IC1  3         IC2       16
  1441.                IC3  22        IC2       6
  1442.                R1   1         IC2       4
  1443.                R2   1         IC1       8
  1444.                R2   2         IC3       6
  1445.                R1   2         IC1       31
  1446.                IC2  8         IC3       17
  1447.                IC1  21        IC1       15
  1448.                IC2  8         IC3       8
  1449.                IC2  9         IC3       9
  1450.                IC2  10        IC3       10
  1451.                IC1  14        IC2       9
  1452.  
  1453.           N returns to the menu.
  1454.           5.   Ok, let's autoroute the board.  Go back to the main menu and
  1455.                select  4  to autoroute  the board.    When prompted  to use
  1456.                single sided routing or not, answer  Y.  Now hit the ESC key
  1457.                and  watch  the machine  route.   When  it is  done  is will
  1458.                display the  list of uncompleted connections  to the printer
  1459.                or  screen.   Select whichever  you  wish.   We will  now be
  1460.                dropped back to the main  menu.  We can take a look  at what
  1461.                we have done by  selecting number 5 from  the menu.   Cursor
  1462.                around  and see a representation of the board on the screen.
  1463.                Hit ESC when done.
  1464.  
  1465.                Now let's re-route the  board using double sided techniques.
  1466.                This time  say N to single  sided and Y to  double sided and
  1467.                then hit ESC.  The machine will route double sided and again
  1468.                give  a list of incomplete connections if any exist.  Select
  1469.                printer or screen for this  list.  Let's take a look  at the
  1470.                board again.  This time we may also want to use the S key to
  1471.                change sides of the board that we are viewing.  When you are
  1472.                done hit ESC.
  1473.           6.   From the main  menu, hit  6 for statistics.   Displayed  are
  1474.                five statistics that tell you how good your  design is.  Hit
  1475.                space when you are done with this.
  1476.           7.   Last of all we'll print out our design.  Follow instructions
  1477.                in the section on the RPRINT Subprogram to do this.
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.                                                           PC-Trace Users Manual
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.                                                                          26
  1498.  
  1499.                                 RPRINT.EXE Subprogram
  1500.  
  1501.                Execute  this program by typing RPRINT  from the dos prompt.
  1502.           Upon  entry into  this program the  user will  be prompted  for a
  1503.           printer type.  Enter the corresponding number.  The second prompt
  1504.           is for  the board name.   Type the  name with no  extension.  The
  1505.           main control  panel will  now explode  onto the  screen.   A math
  1506.           coprocessor is particularly useful in this program.
  1507.           1. File name:  Selecting 1  will allow changing of the file to be
  1508.                          printed.  Enter the filename with no extension.
  1509.           2. Board side: This selects  the board side to  print.  Selecting
  1510.                          this  number will  toggle  between three  possible
  1511.                          sides   to   print    (Solder,   Component,    and
  1512.                          Silkscreen).  Single sided  boards are done on the
  1513.                          solder side.
  1514.           3. Mirroring:  This  selection toggles between  mirroring and not
  1515.                          mirroring the board.
  1516.           4. Negative:   This  function  will  allow  the  user  to  select
  1517.                          between printing  a negative or a  positive of the
  1518.                          actual board.
  1519.           5. Actual size:     Laser printers and 24 pin dot matrix printers
  1520.                               can output the images at actual size.  If the
  1521.                               selected  printer  lacks  the  resolution  to
  1522.                               achieve acceptable results, this  menu choice
  1523.                               will  not exist.   Selection  of  this choice
  1524.                               allows  toggling  between  actual   size  and
  1525.                               double sized printing.
  1526.  
  1527.           6. Pin1 square:     Toggling this  to the on position  will print
  1528.                               the  number one  pin of  all components  as a
  1529.                               square.  This  is useful for identifying  the
  1530.                               number one pin when placing the components on
  1531.                               the finished circuit board.
  1532.           7. Output file:     After selecting this menu choice, the user is
  1533.                               prompted for an output  file name.  Enter the
  1534.                               filename without an  extension.  The printout
  1535.                               of the file will now be sent to the file that
  1536.                               was designated.   The file will  be given the
  1537.                               extension  .PRT.    Be  careful  if  printing
  1538.                               multiple  files not  to overwrite  a previous
  1539.                               printing.
  1540.           8. Print Board:     This  selection starts  the  printing of  the
  1541.                               board.
  1542.           9. Exit program:    This  selection exits the RPRINT program back
  1543.                               to DOS.
  1544.           Plotter Notes:
  1545.                In using RPRINT with plotters, no provision is made to print
  1546.           to a serial port.   With DOS 3.3 and later, the MODE  command can
  1547.           be used  to redirect  printer output  to  the serial  port.   Two
  1548.  
  1549.                                                           PC-Trace Users Manual
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.                                                                          27
  1558.  
  1559.           commands are needed.
  1560.           MODE ComX:9600,N,8,1,p (press return) X is the com number
  1561.           MODE LPT1:=ComX: (press return)
  1562.           MODE LPT1: (press return) will return to normal operation
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.                                                           PC-Trace Users Manual
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.                                                                          28
  1618.  
  1619.                                         DEFGEN
  1620.                                       Subprogram
  1621.  
  1622.  
  1623.                The  program needs  to  know the  exact  pin layout  of  any
  1624.           component  placed on the board.  This function allows creation of
  1625.           these definitions.   The largest difference  between this version
  1626.           and previous versions  of PCTRACE is  that surface mount  support
  1627.           can be acheived more easily.   When a device is defined, all pins
  1628.           of the surface mount  part must be terminated at  a through-holed
  1629.           pad.   That is  the same as  before.  With  version 5.0, pads and
  1630.           traces can  be defined within  the definition  file allowing  the
  1631.           user to draw small traces with flat pads to serve as locations to
  1632.           mount  a surface mount  part.  A  silkscreen outline  can also be
  1633.           drawn with the manual router in "SILKSCREEN" mode.
  1634.                The program  is  started by  typing  "DEFGEN" from  the  dos
  1635.           prompt in the PCTRACE subdirectory.
  1636.  
  1637.  
  1638.           ***Note:  Most chip  dimensions are available in  data books such
  1639.                     as RCA cross reference manuals.  Radio Shack  also puts
  1640.                     device dimensions on the back of their packages.
  1641.  
  1642.                When running DEFGEN to create  new chip layout patterns many
  1643.           keys are active.  A summary of each key follows:
  1644.  
  1645.           S - switch sides:
  1646.                This function changes the side of the board displayed.  When
  1647.                S is entered from the keyboard,  the other side of the board
  1648.                will  be displayed.    The program  supports  only 2  sides,
  1649.                solder and component.
  1650.  
  1651.           K - Silkscreen toggle:
  1652.                Pressing  this key  toggles  the drawing  on the  silkscreen
  1653.                layer as opposed to the solder  or component layers.  When K
  1654.                is pressed a green "SILKSCREEN" appears at the bottom of the
  1655.                screen.   The only commands that are available at this point
  1656.                are  the F9, manual router,  which is used  to draw the part
  1657.                outline, F10  which allows placing  text in addition  to the
  1658.                component designation, F1  which is Load, F2 which  is Save,
  1659.                and F3 which is erase.
  1660.  
  1661.           G - grab location:
  1662.                The key is only active at certain times.  The F4, F5, F7 and
  1663.                F10 functions all use this key.
  1664.  
  1665.           B - Turn on background:
  1666.                This key is  used to turn  on and off the  background layer.
  1667.                If the user is editing the solder side, this key will show a
  1668.  
  1669.                                                           PC-Trace Users Manual
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.                                                                          29
  1678.  
  1679.                lightened view of the  component side.  On a  color monitor,
  1680.                it will appear  dotted and  red.  Black  and white  monitors
  1681.                will show dotted graphics only.  Pressing B again turns this
  1682.                mode off.
  1683.  
  1684.           E or ESC - end:
  1685.                Pressing E  or ESC will exit  from the DEFGEN program.   The
  1686.                exit is immediate and should be used carefully.
  1687.  
  1688.  
  1689.           Cursor Keys:
  1690.                The  cursor keys move the  solid block around  on the board.
  1691.                Each time the  arrow key is pressed, the cursor  will move 1
  1692.                space.  Relative  coordinates are displayed at the bottom of
  1693.                the screen.   Using Shift-Arrow moves the  cursor 10 spaces.
  1694.                If the cursor comes to  the edge of the screen, but  not the
  1695.                edge of the board, the screen will shift the board over.
  1696.  
  1697.           Function Keys:
  1698.                The function keys  numbered F1-F10  do the  majority of  the
  1699.                work in  DEFGEN.   They allow the  user to  place vias,  run
  1700.                traces,  delete traces,  resize traces,  add pads,  and draw
  1701.                component outlines.
  1702.  
  1703.           F1 - Load Definition:
  1704.                By pressing F1, the bottom of the screen will prompt  for an
  1705.                input definition  file name.   Enter  the  filename with  no
  1706.                extension.  If the file is found it will be displayed on the
  1707.                screen  for editing.  Please  feel free to  use the provided
  1708.                definition files in creating others.
  1709.  
  1710.           F2 - Save Definition:
  1711.                This  function  will prompt  for  a  save filename  for  the
  1712.                definition.  Enter the save filename with no extension.  The
  1713.                program  will notify the user if the file already exists and
  1714.                check to make sure that  it is alright to rewrite the  file.
  1715.                Once the file has been written with this command, DEFGEN can
  1716.                be exited and the definition used in PCTRACE.
  1717.  
  1718.           F3 - Erase:
  1719.                This  command has  four options.   Option  1 will  erase the
  1720.                component layer of  everything except the pads.   The second
  1721.                option deletes everything but the pads off the solder layer.
  1722.                The third  layer will  remove everything off  the silkscreen
  1723.                layer  except for  the  placement of  the designation  text.
  1724.                Option 4 deletes  everything, including the pads.   Option 5
  1725.                exits without deleting anything.
  1726.  
  1727.  
  1728.  
  1729.                                                           PC-Trace Users Manual
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.                                                                          30
  1738.  
  1739.           F4 - Delete Trace:
  1740.                This  function will delete any part of any trace that exists
  1741.                in the  definition. Pressing F4 enters  the delete selection
  1742.                mode.   After pressing  F4 the screen  will say to  use G to
  1743.                grab  the parts  to be deleted.   As  G is  pressed on valid
  1744.                traces, the pieces will be highlighted.  The user can change
  1745.                screens by moving the cursor  off the screen without  losing
  1746.                the  already selected traces.  Once all the traces to delete
  1747.                have been  selected, press  F4 again  and  the program  will
  1748.                prompt  to make sure you wish to delete the selected traces.
  1749.                Answer Y to finish the delete operation.
  1750.  
  1751.           F5 - Add New Pad:
  1752.                This  function key will  add a  pad at  the location  of the
  1753.                cursor  when G  is pressed.   All  components must  have pad
  1754.                definitions.   The router is unable to route to a trace that
  1755.                cannot be specified by an attached pad.  The pads are placed
  1756.                in  sequence so  be  sure  to  place  them  in  the  package
  1757.                numbering order.
  1758.  
  1759.           F6 - Delete Last Pad:
  1760.                This function deletes  the last placed pad from  the screen.
  1761.                It requires that the definition be regenerated so the screen
  1762.                will be redrawn.
  1763.  
  1764.           F7 - Resize trace:
  1765.                This function will resize  a trace to any valid  trace size.
  1766.                Select F7  and then  use G to  select the traces  to resize.
  1767.                Once  you have selected the  traces to resize,  press F7 and
  1768.                you will be asked  if you really wish to resize  the traces,
  1769.                answer Y  if you do.   Next the program will  prompt for the
  1770.                trace  size. 1 corresponds to 0.01 up to 7 which corresponds
  1771.                to 0.07 inches.  Be  careful not to overlap other  traces or
  1772.                pads with this function.
  1773.  
  1774.           F8 - Coordinates for Designation:
  1775.                This  function   will  anchor  the  location   of  the  part
  1776.                designation.  Normally the designation moves to the centroid
  1777.                of the area  defined by  the pads.   For most  applications,
  1778.                like  DIPs,  this  is  acceptable.    Some  parts,  such  as
  1779.                transistors, benefit from having the designation text placed
  1780.                above  or below the pads.  Selecting this option will prompt
  1781.                for a location for the center of the designation text.  Move
  1782.                to  that location and press G.   The next prompt asks if the
  1783.                user  desires double sized text.   If "yes"  is entered, the
  1784.                designation will be drawn 0.1  inches high on the silkscreen
  1785.                layer.  "No" will draw text 0.05 inches high.
  1786.  
  1787.  
  1788.  
  1789.                                                           PC-Trace Users Manual
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.                                                                          31
  1798.  
  1799.           F9 - Manual Route:
  1800.                This  function allows  the  user to  manually route  traces.
  1801.                Place  the cursor on the  starting pad, trace,  or open area
  1802.                and press  F9.  Now use the cursor control keys to route the
  1803.                trace.     Every  time  the   cursor  moves,  the  trace  is
  1804.                lengthened.  When done, press F9.   If the end is on another
  1805.                trace, pressing F9 will add the proper connecting point.  If
  1806.                the green  SILKSCREEN indicator  is  on, the  trace will  be
  1807.                routed in green.  This should be used to draw the outline of
  1808.                the part.  This outline will be displayed in the interactive
  1809.                router and when printing the silkscreen.
  1810.  
  1811.           F10 - Write Text:
  1812.                Pressing  F10 allows the addition  of text to the silkscreen
  1813.                layer.  After  pressing F10, you  will be asked to  move the
  1814.                cursor  to the starting position  for the text  and press G.
  1815.                After pressing  G, the  software  will prompt  for the  text
  1816.                string.   It will  accept up  to 20  characters.   When done
  1817.                entering  text, press return.  The next prompt is for double
  1818.                sized  text.  Answer "yes"  and the text  will appear double
  1819.                sized.  The  board will then be redrawn  with the text added
  1820.                in.
  1821.  
  1822.           Using a mouse in the DEFGEN program:
  1823.                The  mouse  allows  usage  of all  the  functions  mentioned
  1824.           previously except for the  manual router.  The mouse  driver must
  1825.           be installed  before running the  DEFGEN program.   When entering
  1826.           the interactive  program, four  arrows will  appear in  the lower
  1827.           right corner  of the  screen.   By using  the mouse,  putting the
  1828.           cursor on one of  these arrows, and pressing the left  button the
  1829.           screen will be moved by  half in that direction.  The  same thing
  1830.           was accomplished by  moving the  cursor off the  board using  the
  1831.           arrow keys.
  1832.                Pressing the right mouse button will pop up a menu along the
  1833.           bottom of the screen.  The  menu corresponds to function keys F1-
  1834.           F8, and F10.  The exit command  at the far right, exits the menu.
  1835.           By  placing the  cursor  anywhere on  the  command desired,  that
  1836.           command  can be  executed by  pressing the left  button.   If the
  1837.           command selected  is F4,  F5, F7, F8,  or F10, the  "Grab" method
  1838.           will be in use.  The left button  works the same as the G key  in
  1839.           these cases.  Use  it to highlight sections and locations  on the
  1840.           board to work with.  When using the delete and resizing functions
  1841.           (F4 and F7) the user  must press and release the left  button for
  1842.           each piece of trace.
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.                                                           PC-Trace Users Manual
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.                                                                          32
  1858.  
  1859.                                   Keyboard Summaries
  1860.                                      for PCTRACE
  1861.  
  1862.           Chip Placement Screen:
  1863.           ESC       - Option to Abandon Placement
  1864.           RET       - Place chip at current location
  1865.           Cursor Keys    - Moves chip one space for each depression
  1866.           Shift Cursor Key - Moves chip 10 spaces for each depression
  1867.  
  1868.           Spider Web System:
  1869.           M*        - Set system to move highlighted chip
  1870.           Cursor keys    - Move chip one space on board
  1871.           RET       - Place chip at current location
  1872.           ESC       - Abandon placement
  1873.           +,-*      - Increment and Decrement through chips
  1874.           E*        - Exit Web System
  1875.  
  1876.           * -  Denotes that  this selection is  displayed on screen  at all
  1877.                times.
  1878.  
  1879.           Interactive Router:
  1880.           S         - Display other side of board
  1881.           G         - Grab a piece of trace at cursor
  1882.           E,ESC          - Exit interactive router
  1883.           B         - Turns on and off background
  1884.           C         - Allows movement of devices
  1885.           K         - Turns silkscreen layer on and off
  1886.           F1        - Select source pad
  1887.           F2        - Select destination pad
  1888.           F3        - Attempt to connect source and destination
  1889.           F4        - Delete traces
  1890.           F5        - Place via at cursor location
  1891.           F6        - Delete via at cursor location
  1892.           F7        - Resize selected trace
  1893.           F8        - See if route is possible between source              
  1894.                       and destination pads
  1895.           F9        - Enters and exits the manual router
  1896.           F10       - Puts user text on the silkscreen layer
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.                                                           PC-Trace Users Manual
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.                                                                          33
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.                                          SCAD
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.                                   Schematic Capture
  1934.  
  1935.                                      Version 1.0
  1936.  
  1937.                                      Users Manual
  1938.  
  1939.                                     June 21, 1992
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.                                           by
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.                                   Douglas E. Ehlers
  1956.  
  1957.                                Copyright (C) 1991,1992
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.                
  1972.                
  1973.  
  1974.                                      Introduction
  1975.  
  1976.                Schematic   CAD  is   a  program   for  drawing   electrical
  1977.           schematics.  While this drawing is being made, the software keeps
  1978.           track of all components and connections between them.  It is then
  1979.           possible to create an  export file (.NLT) that PC-Trace  can load
  1980.           and create  a board from.   This allows  the designer a  complete
  1981.           cycle  for production of a circuit board.  From conceptual design
  1982.           to computer controlled manufacture of the board,  this system has
  1983.           it all.
  1984.  
  1985.           Menu Usage:
  1986.                The menu  system in  SCAD requires  the use of  a mouse  for
  1987.           complete use of the  system.  Some functions can  be accomplished
  1988.           with  the use  of the  keyboard only.   Using  a mouse,  move the
  1989.           cursor  to the area  of the desired menu  selection.  By pressing
  1990.           the left  mouse button, a pull  down menu will appear.   Move the
  1991.           mouse down the menu  until the desired choice is  highlighted and
  1992.           release the button.  The menu  choice will be executed.   Another
  1993.           way to make menu choices is to open  the menu by pressing the ALT
  1994.           key and the  highlighted menu area key.   For example ALT-F  will
  1995.           open the Files  Menu.  The cursor  keys can be  used to move  the
  1996.           highlight bar up and down the menu.  Pressing return will  select
  1997.           the  menu  choice.   Once the  menu  appears, pressing  the first
  1998.           letter of the desired  choice will move the highlight bar to that
  1999.           choice.
  2000.                Some menus have  small arrows  that point to  the right.  By
  2001.           moving the  mouse across that arrow a  submenu will appear.  That
  2002.           menu  responds the  same way  as  the rest  of the  menus.   Many
  2003.           functions  use this  concept including  Print, Draw,  Delete, and
  2004.           Move.
  2005.  
  2006.           File Menu:
  2007.           New Diagram:
  2008.                     The New Diagram function from the FILES menu will clear
  2009.                the drawing space that SCAD uses to store files.  A dialogue
  2010.                box is used to confirm this selection.
  2011.  
  2012.           Load Diagram:
  2013.                     The Load Diagram  file will load  a schematic that  was
  2014.                saved  previously.   The  program will  prompt for  the file
  2015.                name.  Enter  the name  without the extension  (.SCH).   The
  2016.                program  will add the extension.  If the program cannot find
  2017.                the file it will report it and give the  user another chance
  2018.                to enter the filename or to exit back to the drawing area.
  2019.  
  2020.           Save Diagram:
  2021.                     The  Save Diagram  function  saves whatever  is in  the
  2022.                memory of the system at a given point.  When  prompted for a
  2023.                save name, enter the name with no extension.  SCAD  will add
  2024.                the extension (.SCH).  If the program can't find the entered
  2025.                file name, it will save the information from the given mode.
  2026.                If  the program finds that the save filename exists, it will
  2027.                prompt to see  if the old file  should be overwritten, or  a
  2028.                new file name should be specified.
  2029.  
  2030.                                                           PC-Trace Users Manual
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.                                                                          35
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.           Export DXF:
  2045.                     The Export  DXF function  is used  for creating  a file
  2046.                format that can  be read  by many popular  CAD programs  and
  2047.                word-processing packages.  The DXF format used is compatible
  2048.                back to Autocad Version 2.6.  The program will  prompt for a
  2049.                save  name.   Give the  file  name with  no extension.   The
  2050.                program will add it  (.DXF) automatically.  If  the filename
  2051.                already  exists on the disk,  the program will  prompt as to
  2052.                whether  or not to overwrite  the file.   Answering yes will
  2053.                overwrite the old filename, and answering no will cause SCAD
  2054.                to prompt for a new file name.
  2055.  
  2056.           Export PC-Trace:
  2057.                     The function is used  to create a netlist that  PCTRACE
  2058.                can  load.   It  contains  a  list  of  all  components  and
  2059.                connections  that have  been  entered while  using the  SCAD
  2060.                software.  All that will be required on the PCTRACE side  is
  2061.                to place  the  components and  start  the autorouter.    The
  2062.                program prompts for the export filename.  Enter the filename
  2063.                with no  extension, the  program will add  it automatically.
  2064.                If the program finds that  the entered filename exists,  the
  2065.                program will allow the option of overwriting the file or re-
  2066.                entering a new filename.
  2067.  
  2068.           Print Total/Window:
  2069.                     Print has  two options,  one, the option  called Total,
  2070.                that will  find the extents  of the drawing and  scale it to
  2071.                fit  on a page.   The second, or  Window, essentially prints
  2072.                what  is currently  being viewed  on the  screen.   Once the
  2073.                program is told to  print, it will create a print file, save
  2074.                the  current drawing  and chain  to the  sprint.exe program.
  2075.                The  first prompt in this  program is for  the printer type.
  2076.                The  user should  select  their printer  or  one that  their
  2077.                printer emulates.  The  sprint menu can print to  a file and
  2078.                that is toggled  with option 1.   When prompted for  a print
  2079.                filename,  enter the filename with no extension.  The second
  2080.                option will  allow printing  in portrait or  landscape mode.
  2081.                Option 3  actually prints  the drawing,  and option  4 exits
  2082.                sprint.exe and returns to SCAD.
  2083.  
  2084.           Show Drawing Info:
  2085.                     This  function  will  show  basic  drawing  information
  2086.                including the  current SNAP value, the  current window size,
  2087.                the  amount  of  free   memory,  and  the  currently  loaded
  2088.                filename.
  2089.  
  2090.           Exit:
  2091.                     The exit  function exits whichever mode  the program is
  2092.                currently running  in.  This function can  also be activated
  2093.                by  pressing ALT-X.  If  the user is  currently operating in
  2094.  
  2095.                                                           PC-Trace Users Manual
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.                                                                          36
  2104.  
  2105.                the Component  Drawing area, it  will exit the  drawing pad.
  2106.                If the user is editing the  main drawing, it will allow exit
  2107.                of the program.  No option is given to the user  to save the
  2108.                file once exiting the program is answered with an OKAY.
  2109.  
  2110.  
  2111.           Drawing Symbols:
  2112.                When Draw Component is selected from the Components menu,  a
  2113.           box appears  in the center  of the screen.   This is  the drawing
  2114.           area  for creation of  components.  A  component in this  case is
  2115.           defined to  be the  schematic symbol  for any part  that will  be
  2116.           placed in  the drawing.   A  small library  of common symbols  is
  2117.           included with the system for the user.  Invariably, a symbol will
  2118.           be  needed that  is not included.   That  is the  purpose of this
  2119.           editor.
  2120.                Once  the box appears in the middle of the screen, the Files
  2121.           menu  and the  Entities  menu  come  into  play.    Only  certain
  2122.           functions may  be used in each.   The unusable functions  will be
  2123.           grayed out and the  user will be unable to  use them.  The  Load,
  2124.           Save, New, and Exit functions in the Files menu work as described
  2125.           previously, except  that they only  apply to  the current  symbol
  2126.           being drawn.   For example, if an AND gate is drawn in this area,
  2127.           saving  it will only save the representation  of the AND gate and
  2128.           not the overall drawing.
  2129.                The  save routine itself is different at this point as well.
  2130.           It includes a  short routine that  asks the user  to outline  the
  2131.           symbol with a bounding  box before the save takes  place.  Select
  2132.           the  upper left  and lower  right of  the drawing  to save.   The
  2133.           entire drawing will  be shifted to call the upper  left corner of
  2134.           the bounding box the origin for later use.
  2135.                The  following  overview  tells  how  the  various  Entities
  2136.           commands work and what they do.  Their usage here is  essentially
  2137.           the same as their usage in the main drawing area.
  2138.  
  2139.           Draw-Line:
  2140.                     This function  is used to draw lines within the drawing
  2141.                window.   At the bottom of the  screen, SCAD will prompt the
  2142.                user  as  to  what   the  program  expects.     The  current
  2143.                coordinates  are shown  at  the bottom  right.   Select  the
  2144.                location of the  starting point  of the line  and click  the
  2145.                left  or right button.  Clicking the left button will anchor
  2146.                the  start  of  the  line at  the  current  mouse  location.
  2147.                Clicking the right button will anchor the start point at the
  2148.                current  point, plus it will  draw a connection  dot at this
  2149.                point.   The dot  will not  appear until  the start and  end
  2150.                points  of the line have been specified.  After clicking the
  2151.                left  or right button, the  program will prompt  for the end
  2152.                point.  Click either the right or left button.   The buttons
  2153.                have the same effect  as when picking the start  point.  ESC
  2154.                will exit or back up while  drawing lines.  To draw  another
  2155.                line, select this function again.
  2156.  
  2157.  
  2158.                                                           PC-Trace Users Manual
  2159.  
  2160.  
  2161.  
  2162.                                                           
  2163.  
  2164.                                                                          37
  2165.  
  2166.           Draw-Arc:
  2167.                     This function is used to draw  an arc of some size.  It
  2168.                can be used to draw 1/4 arcs from any start point to any end
  2169.                point and  at any  diameter.   The first  prompt is  for the
  2170.                center  point of the  arc.  Move the  mouse to this location
  2171.                and click  a button.  The second prompt is for the radius of
  2172.                the  arc.  Move the  pointer to the  location that shows the
  2173.                desired radius.   A floating line reminds the user as to the
  2174.                current length.  The next point is for the start of the arc.
  2175.                Pick  this point as before.  The  last prompt is for the arc
  2176.                ending point.   Click on this point.  The  arc will be drawn
  2177.                from the start point, counter-clockwise, to the end point at
  2178.                the  given radius.   ESC  will back  up at  any time  to the
  2179.                previous  prompt or will exit the function.  To draw another
  2180.                arc, pick this function again.
  2181.  
  2182.           Draw-Circle:
  2183.                     This function draws a circle  at some center point  and
  2184.                some radius.  When prompted, pick the center point and click
  2185.                a mouse button.  The second  prompt is for the radius of the
  2186.                circle.  Click on this point and the circle will be drawn on
  2187.                the screen.  ESC will back up to the previous prompt or exit
  2188.                the function.   To draw  another circle, pick  this function
  2189.                again.
  2190.  
  2191.           Draw-Text:
  2192.                     This  function is used place  text on the  screen.  The
  2193.                first prompt is for the starting location of the text.  This
  2194.                point is located at the top, left corner of the text string.
  2195.                Select  this  point  by  moving the  mouse  to  the  desired
  2196.                location and click  a button.  The second prompt  is for the
  2197.                scale of the text.  This number is the size of  the text.  A
  2198.                value of  0.25 will  create a string  with characters  every
  2199.                0.25  units.   The  third  prompt is  for  horizontal versus
  2200.                vertical text.  Answering yes  will draw the text horizontal
  2201.                and no will  draw the  string vertically.   The letters  are
  2202.                always upright, they are not rotated for vertical text.  The
  2203.                last prompt is for the text string itself.  This string will
  2204.                be displayed on  the drawing  itself.    When entering  text
  2205.                pressing  return  at the  end of  the  string will  draw the
  2206.                normal  text.  If the up-arrow cursor key is pressed instead
  2207.                of return, the text will be drawn with a line over it.  This
  2208.                is useful for digital systems when a signal is active low.
  2209.  
  2210.           Delete-Line:
  2211.                     This function is used to delete lines from the  current
  2212.                drawing area.  A  line will be highlighted  in red and  made
  2213.                dotted.   If this line  is to  be deleted press  Y for  yes.
  2214.                Another line will be  highlighted.  Pressing Y for  yes will
  2215.                delete that line  as well.   Other options for  keys are  to
  2216.                press N for no.  Saying no will move to the next line, or if
  2217.                no  other lines exist, will  exit the function.   Pressing B
  2218.                for back will back up to  the previous line.  This was added
  2219.                in  the  case  of   many  lines  on  the  screen   and  user
  2220.                inadvertently bypassed  the desired line.  ESC  will exit at
  2221.                any  time, leaving the current  line shown on  the screen in
  2222.  
  2223.                                                           PC-Trace Users Manual
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.                                                                          38
  2230.  
  2231.                the correct color.
  2232.  
  2233.           Delete-Circle/arc:
  2234.                     This function  is used to delete  circles/arcs from the
  2235.                current  drawing area.  A  circle/arc will be highlighted in
  2236.                red and made  dotted.  If this  circle/arc is to  be deleted
  2237.                press  Y for yes.   Another circle/arc  will be highlighted.
  2238.                Pressing Y  for yes  will  delete that  circle/arc as  well.
  2239.                Other options  for keys are  to press N  for no.   Saying no
  2240.                will  move   to  the  next   circle/arc,  or  if   no  other
  2241.                circles/arcs exist, will exit the function.   Pressing B for
  2242.                back  will back  up to  the previous  circle/arc.   This was
  2243.                added in the case of many circles/arcs on the screen and the
  2244.                user  inadvertently bypassed  the  desired circle/arc.   ESC
  2245.                will exit at any time,  leaving the current circle/arc shown
  2246.                on the screen in the correct color.
  2247.  
  2248.           Delete-Text:
  2249.                     This function is  used to delete text  from the current
  2250.                drawing area.  A text string will be highlighted  in red and
  2251.                made dotted.  If this text is to be deleted press Y for yes.
  2252.                Another text string will be highlighted.  Pressing Y for yes
  2253.                will  delete that text as well.   Other options for keys are
  2254.                to  press N for  no.  Saying  no will move  to the next text
  2255.                string,  or if no other text exists, will exit the function.
  2256.                Pressing B for back will back up to the previous text.  This
  2257.                was added in the case of many text strings on the screen and
  2258.                the user inadvertently bypassed the  desired text.  ESC will
  2259.                exit  at any  time, leaving  the current  text shown  on the
  2260.                screen in the correct color.
  2261.  
  2262.           Regenerate:
  2263.                     Selecting this function will redraw the current screen.
  2264.                SCAD sometimes creates a little  garbage on the screen  when
  2265.                adding and deleting lines.  This function will clean it up.
  2266.  
  2267.           Set Snap:
  2268.                     The Snap function  is used  to set  absolute units  and
  2269.                endpoints for drawing operations.  If the Snap  function has
  2270.                already been turned  on, selecting it again will  prompt the
  2271.                user  that it will now be turned  off.  If the Snap function
  2272.                is  currently off, a text entry dialogue box will appear and
  2273.                the snap  value will  be given.   Common values  are 0.1  or
  2274.                0.25.   Any value between 0  and 1 can be  entered and used.
  2275.                All subsequent usage of drawing commands will move endpoints
  2276.                of lines, arcs, circles and text to the grid points shown.
  2277.  
  2278.           Scale:
  2279.                     The  scale menu selection is used to change the size of
  2280.                the current symbol  uniformly across its  entire area.   The
  2281.                value  that  is  entered  when the  dialogue  box  opens  is
  2282.                multiplied by  the  dimensions of  all the  entities in  the
  2283.                symbol.   For example, if the  symbol was 1 unit  long and a
  2284.                scale factor of  0.5 was  entered, the final  length of  the
  2285.  
  2286.                                                           PC-Trace Users Manual
  2287.  
  2288.  
  2289.  
  2290.           
  2291.  
  2292.                                                                          39
  2293.  
  2294.                symbol  would be 0.5 units.  Pressing  ESC will exit with no
  2295.                changes.
  2296.  
  2297.           Shift Space:
  2298.                     The shift  space routine  will move the  entire drawing
  2299.                some  offset specified  by  entering a  starting and  ending
  2300.                point of a  line.  If a line  from 1,1 to 2,2 is  drawn, the
  2301.                entire drawing will be shifted 1 unit right and 1 unit down.
  2302.                To draw the line, when prompted, click on the starting point
  2303.                and ending point.   After the second click the  drawing will
  2304.                be shifted.  ESC will exit backwards or out of this routine.
  2305.  
  2306.  
  2307.  
  2308.           Extend/Trim:
  2309.                     This  function  allows a  line  to be  extended/trimmed
  2310.                to/by another line, or a circle to be extended/trimmed to/by
  2311.                a line, or  a line  to be extended/trimmed  to/by a  circle.
  2312.                This   function  is  useful   for  designing  symbols  whose
  2313.                intersection of  points aren't on convenient  dimensions.  A
  2314.                good example of this is the  OR gate.  The function works by
  2315.                first prompting  to see if the  object that will  be used to
  2316.                extend or trim with is a line  or a circle/arc.  Press L for
  2317.                line or  C for circle.   The software will now  use the same
  2318.                procedure as  is  used for  deleting objects  to select  the
  2319.                extend/trim edge.  Once it is selected it will be colored in
  2320.                Magenta.  The second  prompt is for the object  to extend or
  2321.                trim.   This  is the  object that  will have  its dimensions
  2322.                modified.  If  the trim object was a line,  the program will
  2323.                give the option of a line or a circle/arc to modify.  If the
  2324.                trim object was a  circle/arc the program will automatically
  2325.                select  the second object  to be a  line.  The  program will
  2326.                highlight each object in succession until the user picks the
  2327.                desired  object to modify.  The next  prompt is for the user
  2328.                to select a point, with the mouse, near the end point of the
  2329.                object to modify.  One more prompt exists if a circle is one
  2330.                of the affected  entities.  This  prompt is to pick  a point
  2331.                near  the projected intersection.  At the end of the prompts
  2332.                the entity will be modified as per the user instructions.  A
  2333.                regeneration may be required as well to clean up the screen.
  2334.  
  2335.  
  2336.                The tools that have been described above  should be adequate
  2337.           for drawing most objects.   Sometimes some creative usage  of the
  2338.           Snap function and Extend/Trim is required.
  2339.  
  2340.           Placing Components/Symbols:
  2341.                This function is used  to place symbols on the  main drawing
  2342.           area.   This area is separate  from the previous area  and has no
  2343.           limits in size  for practical use.   The only limiting  factor is
  2344.           the amount of available memory.
  2345.                When a set  of graphic symbols  are put  together to make  a
  2346.           meaningful  electrical symbol,  they  are grouped  as an  object.
  2347.           They can only be edited by choosing from the Components menu  the
  2348.  
  2349.                                                           PC-Trace Users Manual
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.                                                                          40
  2358.  
  2359.           Place Component command.  The Move, Delete, and other commands in
  2360.           the Entities section only affect the objects that have been drawn
  2361.           not using this menu selection.
  2362.                When Place Components is selected with the mouse or keyboard
  2363.           a  window  will appear  in  the  center of  the  screen.   If  no
  2364.           components  have been entered, only two choices will appear: N to
  2365.           exit or A to enter new symbols.  ESC will also exit the function.
  2366.  
  2367.           A-Enter new Components:
  2368.                This  function will clear the window and prompt for the name
  2369.           of the symbol that will be placed.  This name will not  appear on
  2370.           the  symbol itself and is used only  to tell the designer exactly
  2371.           what the part is.
  2372.                The  second prompt  if for  the part  designation.   This is
  2373.           later placed on  the name of the  part and is used  by PCTRACE to
  2374.           specify  autorouter connections.   This  designation need  not be
  2375.           unique  as it must be  in PCTRACE.   The reason for  this is that
  2376.           some parts, such as AND gates  like the 74LS08 have more than one
  2377.           part in them.   This allows  the user  to connect multiple  parts
  2378.           under  one  name.    No  automatic   provision  is  provided  for
  2379.           specifying  which part of the overall part is being connected to,
  2380.           other than the pin number.  The program will notify the user if a
  2381.           duplicate  designation  is  specified  to  verify  that  this  is
  2382.           desired.
  2383.                The  next prompt is a  filename for the  actual parts layout
  2384.           information.   This is the same  file as that used  by PCTRACE to
  2385.           specify  pad locations.  The  program will pop  up a small window
  2386.           with lists of names that  are available for use.  Enter  the name
  2387.           of the part without the extension and the program will display it
  2388.           on the screen  in a  small window.   Information  about the  part
  2389.           appears on the bottom  of the screen.   If it is correct  press Y
  2390.           for yes or click in the Yes box.   If it is not correct, click on
  2391.           the No  box or press N,  the program will reprompt  for the name.
  2392.           This entry is not significant  for drawing the schematic  itself,
  2393.           but is needed for export to PCTRACE.
  2394.                The next prompt  is for the Pad  size.  Enter 1  for 0.05, 2
  2395.           for 0.06, 3 for 0.07 and so forth.
  2396.                The last text prompt is for the name of the schematic symbol
  2397.           that will  be drawn on the  main drawing area.   The program will
  2398.           open a window showing a  list of valid diagram files.   Enter the
  2399.           diagram file with no extension and it will be drawn  to check for
  2400.           user approval.   Answering Y  will move to the  main drawing area
  2401.           for placement, and N  will go back  and reprompt for the  diagram
  2402.           file name.
  2403.                Once the diagram file has been selected the text window will
  2404.           disappear and two  crosshairs will be shown on the  screen.  This
  2405.           is  the size  of the  part that  has been  selected and  is being
  2406.           placed.  Moving the mouse to the desired location and  pressing a
  2407.           mouse  button will  anchor the  location of the  part.   The next
  2408.  
  2409.                                                           PC-Trace Users Manual
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.                                                                          41
  2418.  
  2419.           prompt  appears at  the bottom  of the  screen and  asks  for the
  2420.           location  of  the text.    The text  that  will be  drawn  is the
  2421.           designation  name  entered  earlier.   Remember  that  the  point
  2422.           selected is  the upper left corner of  the first character in the
  2423.           string.  The next prompt is for the  text scale and is the actual
  2424.           size, in units,  of the characters that will be  drawn.  The last
  2425.           prompt is for horizontal text.  Answering Y for yes will draw the
  2426.           text  in  a horizontal  line  and N  for  no will  draw  the text
  2427.           vertically.
  2428.                At this point the user is prompted as to whether or not they
  2429.           want to enter another component.  Click on the appropriate space.
  2430.           Answering Y will start the process again, and N will put the user
  2431.           on the last  entered component and give other options  as well as
  2432.           display the current data.  At any point in the previous component
  2433.           entry routine, ESC will back the user up.
  2434.  
  2435.           From a Display of Component Data:
  2436.                Once a  component has  been entered various  editing options
  2437.           can be used on it.  Those options are discussed below:
  2438.           E - Edit Component:
  2439.                This will allow the user to change things such as the  name,
  2440.           designation, pad  size, actual part layout  filename, location of
  2441.           the  diagram, orientation of the diagram, and the location of the
  2442.           text that is associated with this component.  The letters that do
  2443.           each of these are discussed below:
  2444.  
  2445.           A-Name:   This  will prompt for a new name, enter the new name or
  2446.                     press ESC to leave it unchanged.
  2447.  
  2448.           B-Designation: This will prompt for a new designation name, enter
  2449.                          the name or ESC to exit.
  2450.  
  2451.           C-Definition:  This will  prompt for  a new component  pad layout
  2452.                          definition.  Enter the new file or ESC to exit.
  2453.  
  2454.           D-Pad Size:    This will  open a window with  three different pad
  2455.                          sizes.  Enter the desired value.
  2456.  
  2457.           E-Move Comp:   This  will  allow the  user  to  move the  current
  2458.                          symbol  to a  new location.   The  crosshairs will
  2459.                          appear and mouse will move them.  Click the button
  2460.                          on the  location for the  new location.   ESC will
  2461.                          exit.
  2462.  
  2463.           F-Rotate: This function will rotate all  elements associated with
  2464.                     this  component.  The device can be rotated 90, 180, or
  2465.                     270 degrees  counter-clockwise.   It  may require  some
  2466.                     movement of text to make everything look right.
  2467.  
  2468.  
  2469.                                                           PC-Trace Users Manual
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.                                                                          42
  2478.  
  2479.           G-Move Text:   This function allows the  user to first select the
  2480.                          text,  using  the previously  mentioned  method or
  2481.                          moving forward, backward,  and selecting.   A  box
  2482.                          appears  that is the  outline of the  text.  Using
  2483.                          the mouse,  move the text to  the desired location
  2484.                          and click a  mouse button.  The  new text location
  2485.                          will now be at this point.
  2486.  
  2487.           H-Exit Edit:   Selecting H, will exit the edit function.
  2488.  
  2489.           A-Enter new Components:
  2490.                This function  allows entry of  more components  and is  the
  2491.           same routine that was discussed at the beginning of this section.
  2492.  
  2493.           Delete:
  2494.                This function will allow deletion  of the component that  is
  2495.           currently on screen.  The entire component can be deleted or just
  2496.           the text.  Enter the  number that is desired.  An entry of 3 will
  2497.           exit  with  no  deletions taking  place.    If  the component  is
  2498.           deleted, all associated connections will be deleted as well.
  2499.  
  2500.           Search:
  2501.                This will allow the user to search from the current location
  2502.           to the end  of the list of components.   Only the Designation can
  2503.           be searched on.  Follow the prompts to do either.
  2504.  
  2505.           + - Next:
  2506.                Pressing  the + key will  display the next  component on the
  2507.           screen.   If at  the  end of  the list,  the  first component  is
  2508.           displayed.
  2509.  
  2510.           - - Previous:
  2511.                Pressing  the - key will  display the next  component on the
  2512.           screen.  If that the beginning of the list, the last component is
  2513.           displayed.
  2514.  
  2515.  
  2516.  
  2517.           Text Entry:
  2518.                This  function allows text entry  that can be  placed on the
  2519.           main drawing area.  This text will be linked in  to the component
  2520.           that is currently displayed.  This text entry should only be used
  2521.           for text that is associated  with the component.  It can  only be
  2522.           modified  from this component.  More general text entry should be
  2523.           done from the  Entities menu  while running in  the main  drawing
  2524.           area.
  2525.  
  2526.  
  2527.  
  2528.                                                           PC-Trace Users Manual
  2529.  
  2530.  
  2531.  
  2532.  
  2533.                                                                          43
  2534.  
  2535.           N to End Component Entry and Editing:
  2536.                N or ESC will move the user  back to main drawing area.  All
  2537.           work will be held in memory.
  2538.  
  2539.           Connection Entry:
  2540.                Only one choice  exists from the Nconnections menu  and that
  2541.           is to make  connections between existing  components.  The  input
  2542.           routine was created to  minimize the amount of time  spent typing
  2543.           and  maximize  the  ease  with which  connections  are  drawn and
  2544.           recorded.  When the selection is executed it automatically starts
  2545.           entry of a new connection.
  2546.                The  first prompt  is  to pick  a  point inside  the  source
  2547.           component.  The  crosshair will  show on the  screen under  mouse
  2548.           control.  Place the crosshair in the "bounding box" of the source
  2549.           component  and click a button.  When prompted for the destination
  2550.           component  do the same  thing.   This will  tell the  program the
  2551.           source and destination components.
  2552.                The  next step is to tell the program the source pin number.
  2553.           Enter it at  the bottom of the  screen when prompted.  The second
  2554.           step is  to use the  mouse to specify  the starting point  of the
  2555.           number just entered.  The third step is to enter the scale of the
  2556.           pin number.  The destination pin number is done  exactly the same
  2557.           was as the source pin.
  2558.                The  source  and destination  pin  number  that are  entered
  2559.           during this process will  be normal text.  The source number will
  2560.           become  part of  the  source component  object  and will  not  be
  2561.           editable from  the main drawing area.  It will be necessary to go
  2562.           into the Place Components section to edit or move the  text.  One
  2563.           reason for this is to move  the pin numbers or change the letters
  2564.           to  have an  overline.   The  same is  true  for the  destination
  2565.           number, it will be attached to the destination component.
  2566.                After  both the source and destination  have been entered, a
  2567.           dialogue   box  appears  to   show  the  user   that  source  and
  2568.           destinations that  have  been  chosen.   If  the  information  is
  2569.           incorrect click  on the No box  or press N,  the connection entry
  2570.           will be  restarted at the beginning.  If yes is selected the line
  2571.           draw  routine will started and  the user can  draw the connection
  2572.           with as many  straight lines as desired.  The  e key for endpoint
  2573.           and  right mouse  buttons are  active for  finding endpoints  and
  2574.           making  connection dots.  The lines drawn will be attached to the
  2575.           current connection object.  Deleting this object will  remove the
  2576.           lines that are associated  with this connection.  The  only other
  2577.           difference between  connections and components is  that the lines
  2578.           drawn in  a connection can  be edited in  the main  drawing area.
  2579.           After the last  line has been entered, pressing  ESC will end the
  2580.           line drawing routine.   After pressing  ESC, the program  prompts
  2581.           asks  if the  user  wants to  enter  another connection  or  not.
  2582.           Answer  yes   to  restart  this  procedure   and  create  another
  2583.           connection.    No will  put the  user  at the  connection editing
  2584.           facilities.
  2585.  
  2586.  
  2587.                                                           PC-Trace Users Manual
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.                                                                          44
  2596.  
  2597.           Connection List Menus:
  2598.                Several  options are available from  this point.   A list of
  2599.           commands is shown as the last line in the window.      The   edit
  2600.           command  allows the  user to  change  the source  and destination
  2601.           names and pin numbers.  Changing this information will not change
  2602.           the  graphic  data  that was  entered.    To  change the  graphic
  2603.           representation of the number that are on the drawing will require
  2604.           finding the component that they are associated with.
  2605.                A)enter  new  will  allow  entry of  other  connections  are
  2606.           described above.
  2607.                Delete will delete the listed connection  and the lines that
  2608.           are associated with it.
  2609.                Search  will prompt for  a designation name  and search from
  2610.           the current location to the end of all connections for a matching
  2611.           source or destination designation.
  2612.                '+' and  '-'  move to  next  or previous  connection  entry.
  2613.           These keys  loop from start to  end or end to  start depending on
  2614.           the key.
  2615.                Line will allow the user to draw  lines in addition to those
  2616.           that were drawn during the initial connection entry.  These lines
  2617.           are drawn the same as during connection entry.  ESC will exit the
  2618.           line drawing routine.
  2619.                N for end or ESC will exit  this menu and return the user to
  2620.           the main drawing area.
  2621.  
  2622.           Drawing Entities:
  2623.  
  2624.           Draw-Line:
  2625.                     This function is  used to  draw lines  within the  main
  2626.                drawing area.  At the bottom of the screen, SCAD will prompt
  2627.                the  user as  to  what the  program  expects.   The  current
  2628.                coordinates  are  shown at  the  bottom right.    Select the
  2629.                location of the  starting point  of the line  and click  the
  2630.                left  or right button.  Clicking the left button will anchor
  2631.                the  start  of  the  line  at  the  current  mouse location.
  2632.                Clicking the right button will anchor the start point at the
  2633.                current  point, plus it will  draw a connection  dot at this
  2634.                point.   The  dot will  not appear until  the start  and end
  2635.                points  of the line have been specified.  After clicking the
  2636.                left  or right button, the  program will prompt  for the end
  2637.                point.  Click either the right or  left button.  The buttons
  2638.                have  the  same effect  as  when  picking the  start  point.
  2639.                Another option for selecting the  desired point is to  press
  2640.                'E' while  the program is asking for the start or end point.
  2641.                Pressing  'E' at  this time  will draw  a small  box  on the
  2642.                screen.  Placing this box at or near the endpoint of another
  2643.                line will select  the exact  endpoint of that  line or  arc.
  2644.                The  mouse buttons have the  same effect.   This function is
  2645.                active much of time when in the main drawing area and should
  2646.  
  2647.                                                           PC-Trace Users Manual
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.                                                                          45
  2656.  
  2657.                be tested whenever it is  needed.  ESC will exit or  back up
  2658.                while drawing lines.   To draw another line, select  a start
  2659.                and  end point  again.   This  function  will continue  this
  2660.                sequence until ESC is pressed to exit it.
  2661.  
  2662.           Draw-Arc:
  2663.                     This function  is used to draw an arc of some size.  It
  2664.                can  be used to draw any length  arc from any start point to
  2665.                any end point and at any  diameter.  The first prompt is for
  2666.                the  center  point  of the  arc.   Move  the  mouse  to this
  2667.                location and click a button.   The second prompt is  for the
  2668.                radius of the arc.   Move the pointer  to the location  that
  2669.                shows  the desired radius.  A floating line reminds the user
  2670.                as  to the current length.  The  next point is for the start
  2671.                of the arc.  Pick this point  as before.  The last prompt is
  2672.                for  the arc ending  point.  Click  on this point.   The arc
  2673.                will  be drawn  from the  angle of  the start point,  at the
  2674.                selected radius,  counter-clockwise, to the end  angle.  ESC
  2675.                will back up at any time to the previous prompt or will exit
  2676.                the  function.   To  draw  another arc,  pick  this function
  2677.                again.
  2678.  
  2679.           Draw-Circle:
  2680.                     This function draws  a circle at some  center point and
  2681.                some radius.  When prompted, pick the center point and click
  2682.                a mouse button.  The second prompt is for the  radius of the
  2683.                circle.  Click on this point and the circle will be drawn on
  2684.                the screen.  ESC will back up to the previous prompt or exit
  2685.                the function.   To draw another  circle, pick this  function
  2686.                again.
  2687.  
  2688.           Draw-Text:
  2689.                     This  function is used place  text on the  screen.  The
  2690.                first prompt is for the  scale of the text.  This  number is
  2691.                the size  of the text.  A value of 0.25 will create a string
  2692.                with  characters every 0.25 units.  The second prompt is for
  2693.                horizontal versus  vertical text.   Answering yes  will draw
  2694.                the text horizontal and no will  draw the string vertically.
  2695.                The letters  are always upright,  they are  not rotated  for
  2696.                vertical  text.   The third  prompt is  for the  text string
  2697.                itself.   This  string  will be  displayed  on  the  drawing
  2698.                itself.  The last prompt is for the starting location of the
  2699.                text.   This point is located at the top, left corner of the
  2700.                text string.  Select this  point by moving the mouse  to the
  2701.                desired  location and  click a  button.  When  entering text
  2702.                pressing  return  at the  end of  the  string will  draw the
  2703.                normal  text.  If the up-arrow cursor key is pressed instead
  2704.                of return, the text will be drawn with a line over it.  This
  2705.                is useful for digital systems when a signal is active low.
  2706.  
  2707.                                                           PC-Trace Users Manual
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.                                                                          46
  2716.  
  2717.           Move-Line:
  2718.                     The move line  is used  to change the  placement of  an
  2719.                existing line.   When this  selection is  made, the  program
  2720.                will highlight  lines in succession until  the user responds
  2721.                with a Y for yes.   At this point the user will be  asked to
  2722.                select, with the  mouse, a base point of movement.  Click on
  2723.                that point. E is active to  select the endpoint of the line,
  2724.                or  any other, for movement.   After the  basepoint has been
  2725.                selected and  the mouse button clicked, the entire line will
  2726.                move with the  movement of the mouse.   Position the line at
  2727.                the desired location and click a button to permanently place
  2728.                the line.  E is active to select an endpoint.  ESC will back
  2729.                up or exit the function.
  2730.  
  2731.           Move-Circle/Arc:
  2732.                     The  move circle/arc  function  is used  to change  the
  2733.                placement of an existing circle/arc.  When this selection is
  2734.                made,  the  program  will  highlight  circles  and  arcs  in
  2735.                succession until the  user responds with  a Y  for yes.   At
  2736.                this point the user will be asked to select, with the mouse,
  2737.                a base point of movement.   Click on that point. E is active
  2738.                to  select  the  endpoint of  the  arc,  or  any other,  for
  2739.                movement.   After the  basepoint has  been selected and  the
  2740.                mouse button  clicked, the entire circle/arc  will move with
  2741.                the movement of the  mouse.  Position the circle/arc  at the
  2742.                desired position and click a button to permanently place the
  2743.                circle/arc.   E  is active  to select an  endpoint.   ESC is
  2744.                active to back up or exit the function.
  2745.  
  2746.           Move-Text:
  2747.                     The  move text function is used to change the placement
  2748.                of  an existing text string.   When this  selection is made,
  2749.                the program will highlight  text strings in succession until
  2750.                the user responds with a Y for yes.  At  this point the user
  2751.                will be  asked to select,  with the  mouse, a base  point of
  2752.                movement.   After  the basepoint  has been selected  and the
  2753.                mouse button clicked, a box  representing the text will move
  2754.                with  the movement of the  mouse.  Position  the text box at
  2755.                the desired position and click a button to permanently place
  2756.                the text.  E is active to select an endpoint.  ESC is active
  2757.                to back up or exit the function.
  2758.  
  2759.           Delete-Line:
  2760.                     This  function is  used to delete  lines from  the main
  2761.                drawing area.  A  line will be highlighted  in red and  made
  2762.                dotted.   If this line  is to  be deleted press  Y for  yes.
  2763.                Another line will be  highlighted.  Pressing Y for  yes will
  2764.                delete that line  as well.   Other options for  keys are  to
  2765.                press N for no.  Saying no will move to the next line, or if
  2766.  
  2767.                                                           PC-Trace Users Manual
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.                                                                          47
  2776.  
  2777.                no  other lines exist, will  exit the function.   Pressing B
  2778.                for back will back up to the previous line.   This was added
  2779.                in  the  case  of   many  lines  on  the  screen   and  user
  2780.                inadvertently bypassed the  desired line.  ESC will  exit at
  2781.                any  time, leaving the current  line shown on  the screen in
  2782.                the correct color.
  2783.  
  2784.           Delete-Circle/arc:
  2785.                     This function  is used to delete  circles/arcs from the
  2786.                current drawing area.   A circle/arc will  be highlighted in
  2787.                red and  made dotted.  If  this circle/arc is  to be deleted
  2788.                press Y  for yes.   Another circle/arc will  be highlighted.
  2789.                Pressing  Y for  yes will  delete  that circle/arc  as well.
  2790.                Other options for  keys are to  press N for  no.  Saying  no
  2791.                will  move   to  the  next   circle/arc,  or  if   no  other
  2792.                circles/arcs exist, will exit the function.   Pressing B for
  2793.                back  will back  up to  the previous  circle/arc.   This was
  2794.                added in the case of many circles/arcs on the screen and the
  2795.                user inadvertently  bypassed  the desired  circle/arc.   ESC
  2796.                will exit at any time, leaving  the current circle/arc shown
  2797.                on the screen in the correct color.
  2798.  
  2799.           Delete-Text:
  2800.                     This function is  used to delete text  from the current
  2801.                drawing area.  A text string will be  highlighted in red and
  2802.                made dotted.  If this text is to be deleted press Y for yes.
  2803.                Another text string will be highlighted.  Pressing Y for yes
  2804.                will delete that text as well.   Other options for keys  are
  2805.                to press N  for no.   Saying no will  move to the next  text
  2806.                string,  or if no other text exists, will exit the function.
  2807.                Pressing B for back will back up to the previous text.  This
  2808.                was added in the case of many text strings on the screen and
  2809.                the user inadvertently bypassed the  desired text.  ESC will
  2810.                exit  at any  time, leaving  the current  text shown  on the
  2811.                screen in the correct color.
  2812.  
  2813.           Regenerate:
  2814.                     Selecting this function will redraw the current screen.
  2815.                SCAD  sometimes creates a little garbage  on the screen when
  2816.                adding and deleting lines.  This function will clean it up.
  2817.  
  2818.  
  2819.           Set Snap:
  2820.                     The  Snap function  is used to  set absolute  units and
  2821.                endpoints for  drawing operations.  If the Snap function has
  2822.                already been turned  on, selecting it again  will prompt the
  2823.                user  that it will now be turned  off.  If the Snap function
  2824.                is  currently off, a text entry dialogue box will appear and
  2825.                the  snap value  will be  given.  Common  values are  0.1 or
  2826.  
  2827.                                                           PC-Trace Users Manual
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.                                                                          48
  2836.  
  2837.                0.25.   Any value between 0  and 1 can be  entered and used.
  2838.                All subsequent usage of drawing commands will move endpoints
  2839.                of lines, arcs, circles and text to the grid points shown.
  2840.  
  2841.           Zoom In:
  2842.                     This function requires the  use of the mouse to  pick a
  2843.                bounding box for an area  to zoom in on.  Click the mouse on
  2844.                one corner of the area to zoom in on and  click the mouse on
  2845.                the opposite corner.  SCAD will show the boxed  in region on
  2846.                screen  as  the full  screen  while  maintaining the  aspect
  2847.                ratio.
  2848.  
  2849.           Zoom Out:
  2850.                     The Zoom out  function prompts for  a zoom out  factor.
  2851.                Enter a value.   A value of 2, for  example, will double the
  2852.                area  being viewed.  A  value of three  will triple the area
  2853.                and so forth.
  2854.  
  2855.           Zoom Total:
  2856.                     The Zoom Total will zoom out so that all of the drawing
  2857.                is shown on  the screen.   This function  finds the  overall
  2858.                size   of  the   drawing  and   adjusts  the   viewing  area
  2859.                accordingly.
  2860.  
  2861.           Shift Space:
  2862.                     The shift  space routine  will move the  entire drawing
  2863.                some  offset specified  by  entering a  starting and  ending
  2864.                point of a  line.  If a line  from 1,1 to 2,2 is  drawn, the
  2865.                entire drawing will be shifted 1 unit right and 1 unit down.
  2866.                To draw the line, when prompted, click on the starting point
  2867.                and ending point.   After the second click the  drawing will
  2868.                be shifted.  ESC will exit backwards or out of this routine.
  2869.  
  2870.           Extend/Trim:
  2871.                     This  function allows  a  line to  be  extended/trimmed
  2872.                to/by another line, or a circle to be extended/trimmed to/by
  2873.                a line, or  a line  to be extended/trimmed  to/by a  circle.
  2874.                This  function  is   useful  for  designing  symbols   whose
  2875.                intersection of  points aren't on convenient  dimensions.  A
  2876.                good example  of this is the OR gate.  The function works by
  2877.                first prompting to  see if the object  that will be used  to
  2878.                extend or trim with is a line or a circle/arc.   Press L for
  2879.                line or  C for circle.   The software will now  use the same
  2880.                procedure as  is used  for  deleting objects  to select  the
  2881.                extend/trim edge.  Once it is selected it will be colored in
  2882.                Magenta.  The  second prompt is for the object  to extend or
  2883.                trim.   This  is the  object that  will have  its dimensions
  2884.                modified.  If  the trim  object was line,  the program  will
  2885.                give the option of a line or a circle/arc to modify.  If the
  2886.  
  2887.                                                           PC-Trace Users Manual
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.                                                                          49
  2896.  
  2897.                trim object was a  circle/arc the program will automatically
  2898.                select the  second object to  be a  line.  The  program will
  2899.                highlight each object in succession until the user picks the
  2900.                desired object  to modify.  The next  prompt is for the user
  2901.                to select a point, with the mouse, near the end point of the
  2902.                object to modify.  One more prompt exists if a circle is one
  2903.                of the  affected entities.  This  prompt is to pick  a point
  2904.                near  the projected intersection.  At the end of the prompts
  2905.                the entity will be modified as per the user instructions.  A
  2906.                regeneration may be required as well to clean up the screen.
  2907.  
  2908.  
  2909.                                   Keyboard Summaries
  2910.                                        for SCAD
  2911.  
  2912.  
  2913.  
  2914.           When Entering Text on the schematic:
  2915.  
  2916.           RETURN         - enters the text normally
  2917.           Cursor Up Arrow - overlines the text
  2918.  
  2919.           When drawing points, lines, arcs, and text:
  2920.  
  2921.           E         - gives user box to find endpoints
  2922.           R. Mouse Button - puts connection dot on point of line
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.                                                           PC-Trace Users Manual
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.                                                                          50
  2956.  
  2957.                                      Conclusion:
  2958.  
  2959.                The PCTRACE circuit design system was written by Doug Ehlers
  2960.  
  2961.           for use  by himself.   This  was  done without  ever having  used
  2962.  
  2963.           another design package.   The  decisions made were  chosen to  be
  2964.  
  2965.           intuitive  to   the  author.    The  program  is  under  constant
  2966.  
  2967.           refinement,  so the user should try and maintain contact with the
  2968.  
  2969.           author through  one of the previously  mentioned support methods.
  2970.  
  2971.           As always the author is interested in user input on the software.
  2972.  
  2973.           The program has evolved as it  has through the input and  support
  2974.  
  2975.           of its users.  In the words of a famous gentleman (almost) "Thank
  2976.  
  2977.           you for your support."
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.                                                           PC-Trace Users Manual
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.                                       Appendix A
  3041.  
  3042.                                    .NLT File Format
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.           The  file created by the export function  of SCAD and read by the
  3051.           import  function of  PC-TRACE  can be  used  as a  mechanism  for
  3052.           importing  netlists from other CAD software.  It is currently not
  3053.           feasible  for the author to  offer this support.   If conversions
  3054.           are written by users, they are encouraged to  let the author know
  3055.           so that they  can be shared by  other users.  The ->  signifies a
  3056.           line in the file.  The following is the file format:
  3057.  
  3058.           ->Number of Components in list
  3059.  
  3060.           Each component looks like:
  3061.  
  3062.           ->Name of component           15 characters
  3063.           ->Component Designation        5 characters
  3064.           ->Definition file name        12 characters
  3065.           ->Pincount  & Padsize          2 Integers with 2 spaces between
  3066.  
  3067.           Pincount is an integer signifying the number of pins in the file.
  3068.           The  Padsize is a 3 bit  number in the 5th, 6th,  and 7th bits of
  3069.           the number.  0  is 0.05, 1 (=32) is  0.06, and 2 (=64) is  a 0.07
  3070.           inch diameter pad.   The  lower five  bits of  Padsize should  be
  3071.           zero.   The bit 0 signifies  if the component has  been placed on
  3072.           the board yet.
  3073.  
  3074.  
  3075.           ->Number of Connections in list
  3076.  
  3077.           Each Connection looks like:
  3078.  
  3079.           ->Source Designation          5 characters
  3080.           ->Source Pin Number           Integer
  3081.           ->Destination Designation     5 characters
  3082.           ->Destination Pin Number      Integer
  3083.  
  3084.